Multiple types of Users
Closed this issue · 1 comments
exseniorastronaut commented
Hi,
Is it possible to have the same table for AuthTokens for multiple types of users?
adamniedzielski commented
I don't see a particular reason why it won't be possible, but I also haven't tried that specific scenario. The only requirement is that each of your models should have authentication_tokens
association. I guess that if you use polymorphic associations then it should be possible to have one table 😄That said, I'd just create one table per model as it's simpler.