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

Add configurable migrations support #739

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ekigamba
Copy link
Contributor

@ekigamba ekigamba commented Feb 2, 2021

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

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