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

Use sequelize migrations #1

Open
eliihen opened this issue Dec 29, 2017 · 0 comments
Open

Use sequelize migrations #1

eliihen opened this issue Dec 29, 2017 · 0 comments

Comments

@eliihen
Copy link
Contributor

eliihen commented Dec 29, 2017

Instead of automatically creating tables when the application starts, we should use the sequelize migrations functionality. If we do this it will be much easier for users to migrate from one version to another while retaining their data, and much easier for us to add new fields and tables.

Consider throwing a descriptive error on application start with details on how to run the migrations if the administrator has not yet done so.

http://docs.sequelizejs.com/manual/tutorial/migrations.html

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

No branches or pull requests

1 participant