Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can use two user's table? #12

Closed
bebetoalves opened this issue Sep 22, 2019 · 1 comment
Closed

I can use two user's table? #12

bebetoalves opened this issue Sep 22, 2019 · 1 comment
Labels

Comments

@bebetoalves
Copy link

I wonder if it is possible to use two distinct tables of users.

@syntaxlexx
Copy link
Owner

@bebetoalves not currently.

The participants table has only one user_id column. If you wish to use two tables, you can create a migration to add a column for the other model. You should then proceed to define relationships of threads and your other model. That would introduce some complexity in your code, but if it is worth it, go for it. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants