-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
Create team.js #596
Create team.js #596
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arpit9667, thanks for the Pull Request. This is not enough to set up the models in a Node application using equalize, you need to create a migration.
You need to do something like:
sequelize migration:generate --name name-of-your-migration
Check our current migrations to see how it works
Great @arpit9667, but we have an issue when run the migration:
|
@alexanmtz How to run the migration? I have created the migration for Team but the table is not getting created in the database. ` |
@arpit9667 you can run the migration with |
@alexanmtz |
@arpit9667 , if you run the migration already, you would need to drop the database and create again to run from scratch |
@arpit9667, there's changes on Maybe you're not in sync with the upstream master. |
@alexanmtz Yes, that was the problem. Now I have pulled all the changes for the master. Also I have implemented the |
Thanks for the update @arpit9667, but it seems that makes sense the user be able to join many teams |
@arpit9667 yeah, the You can maybe check the file from master (needs to be an updated master) with |
Description
Issue
Impacted Area
Steps to test
Steps needed to reproduce the scenario from this change to validate if the pull request solve this issue