forked from google/android-fhir
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean Contributors doc by splitting original huge single page into ni…
…ce chapters, and various related doc MD format fixes (google#2641)
- Loading branch information
Showing
12 changed files
with
342 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Database | ||
|
||
## Migrations | ||
|
||
If you are making changes to the database schema (in the `engine` or the `knowledge` module), you | ||
need to consider how applications with Android FHIR SDK dependencies can upgrade to the new schema | ||
without losing or corrupting existing data already on device. This can be done with [Room database | ||
migration](https://developer.android.com/training/data-storage/room/migrating-db-versions). | ||
|
||
!!! tip | ||
A new JSON schema file will be generated under the `schemas` folder in the module when you | ||
update the database version. If you are having trouble with this, make sure you run the gradle | ||
command with `--rerun-tasks`: | ||
|
||
```sh | ||
./gradlew :<module>:build --rerun-tasks | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.