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

Create Sequelize Data models #8

Open
martoio opened this issue Dec 27, 2019 · 0 comments
Open

Create Sequelize Data models #8

martoio opened this issue Dec 27, 2019 · 0 comments
Assignees

Comments

@martoio
Copy link
Collaborator

martoio commented Dec 27, 2019

Now that you have figured out how to talk to sequelize, let's try to convert the notes in datastructures.txt into the actual models that you can use in your application.

Let's also try to keep things 'production-ready' by using migrations instead of having the script update things automatically: https://sequelize.org/v5/manual/migrations.html

https://codeburst.io/sequelize-migrations-setting-up-associations-985d29b61ee7

If you find migrations a hard concept to grasp, then don't worry, we can skip them and just use regular DB operations.

@martoio martoio assigned martoio and webwizard99 and unassigned martoio Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants