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

Add Sequelize migrations to project #3

Open
rjo opened this issue May 1, 2018 · 1 comment
Open

Add Sequelize migrations to project #3

rjo opened this issue May 1, 2018 · 1 comment

Comments

@rjo
Copy link

rjo commented May 1, 2018

Would it be possible to have the migrations necessary to create the db added to this project?

@rjo rjo changed the title Add Sequalize migrations to project Add Sequelize migrations to project May 1, 2018
@protinam
Copy link
Member

protinam commented May 1, 2018

When you first run the server, tables should be created automatically by sequelize if they don't already exist. If necessary, you can add {force: true} to the sync line - https://github.com/ProjectWyvern/example-orderbook-server/blob/master/server/index.js#L205.

Is that not happening with your setup?

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