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? #8

Open
ansorg opened this issue Dec 21, 2015 · 1 comment
Open

database upgrade? #8

ansorg opened this issue Dec 21, 2015 · 1 comment

Comments

@ansorg
Copy link

ansorg commented Dec 21, 2015

have there been any considerations to implement a database upgrade?

I tried my luck on this but found no good place where to put the upgrade code. The async nature of the "create" code seems to make it impossible to have in a reliable way?

@igorizr1
Copy link
Owner

igorizr1 commented Jan 6, 2016

Library do not have this feature out of the box right now.
You may run queries you need after application start. But I'm not sure this is something u need. And this will not work smooth.
Or probably u may hardcode function which will check the application version on start. And in case of migration is required select all data. Drop db and create new structure and insert migrated data.

Something like that. But migrations are not supported yet. Sorry

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