Skip to content

Add configurable migrations support#739

Open
ekigamba wants to merge 7 commits into
masterfrom
add-configurable-migrations-support
Open

Add configurable migrations support#739
ekigamba wants to merge 7 commits into
masterfrom
add-configurable-migrations-support

Conversation

@ekigamba

@ekigamba ekigamba commented Feb 2, 2021

Copy link
Copy Markdown
Contributor

NOTE
This feature is no longer relevant due to the shift of Ona's OpenSRP team effort to FHIR core as the new architecture

@ekigamba ekigamba force-pushed the add-configurable-migrations-support branch from fdcec93 to 56e5999 Compare February 3, 2021 11:41
- Provide access to db_version from DrishtiApplication
- Add migration-configuration to SynConfiguration
- Add MigrationSource and Migration interfaces
- Asset folder migrations override the migrations in the app-folder
- Only supports up migrations
- Automatically runs migrations in the onUpgrade method -> This method should not be overriden in the apps
- Fix AssetMigrationSource regex pattern
@ekigamba ekigamba force-pushed the add-configurable-migrations-support branch from e20a180 to b746a45 Compare April 28, 2021 08:10
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 68.02% when pulling b746a45 on add-configurable-migrations-support into 690c2bd on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants