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 DB Migration to backend #104

Open
ohaz opened this issue Mar 24, 2020 · 0 comments
Open

Add DB Migration to backend #104

ohaz opened this issue Mar 24, 2020 · 0 comments
Labels
backend enhancement New feature or request good first issue Good for newcomers

Comments

@ohaz
Copy link
Contributor

ohaz commented Mar 24, 2020

When the backend changes the Models used in the database, the database has to be migrated or all data is lost.
Flask + Sqlalchemy supports this using alembic or a flask-wrapper for it: https://flask-migrate.readthedocs.io/en/latest/

@ohaz ohaz added enhancement New feature or request good first issue Good for newcomers backend labels Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant