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

Handle changed models between service versions #2

Open
canihavesomecoffee opened this issue Jun 6, 2016 · 1 comment
Open

Handle changed models between service versions #2

canihavesomecoffee opened this issue Jun 6, 2016 · 1 comment

Comments

@canihavesomecoffee
Copy link
Member

canihavesomecoffee commented Jun 6, 2016

Currently, when replacing a service with a new version, there is no check in place that accounts for changes in the models that store the data in the database.

Ideally a check for this, and some way to upgrade from old to newer models should be in place.

Relevant code: https://github.com/PiPot/pipot-server/blob/70468cbad853ab3d3743f0e0d5831bfc4c0e36a9/mod_config/controllers.py#L375

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