Open ansorg opened 8 years ago
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
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?