Execute migrations programmatically
- Dominant language
- Kotlin
- Stars
- 4.8k
- Forks
- 593
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Is it possible to execute all the migrations programmatically?
The problem I'm having seems to be that Android backup feature is restoring a previous DB version after migrations had already been executed causing my app to crash whenever accessing a column or table that didn't exist in previous version. I was hoping I could force migrations to be executed again.
I've set android:allowBackup=false on AndroidManifest application element already, but was true till I started having this issue. Seems that disabling this feature prevents from new backups to be made but still restores if there is a backup.
When I say "execute all migrations programmatically" I mean a command like in rails would be "rake db:migrate" or "knex migrate:latest" with knex.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.