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

Database upgrade strategy #4

Open
creepone opened this issue Sep 13, 2013 · 0 comments
Open

Database upgrade strategy #4

creepone opened this issue Sep 13, 2013 · 0 comments
Assignees

Comments

@creepone
Copy link
Collaborator

Current strategy of dealing with data is to drop and recreate the database manually when necessary. We need a way to upgrade it automatically depending on its schema version.

This could be a script that compares the version of the database, determines a set of scripts that are relevant for the upgrade (e.g. based on a naming convention) and executes them. Each schema change in the code would then be represented by a script that can make the assumption of running on a certain version of the database while transforming it.

@ghost ghost assigned mmmaly Sep 13, 2013
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

2 participants