You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: maintainer-guide.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -157,13 +157,12 @@ Schema migration is necessary when tables/ columns are amended/ added. Refer to
157
157
158
158
**Role: RL**
159
159
* Follow dev guide to create new changelog with name `db.changelog-<release_number>.xml`. The previous release is the base and the new release is the target branch.
160
-
* Ensure new changelog is in `src/main/resources/db/changelog` and add it as the last entry in `src/main/resources/db/changelog/db.changelog-root.xml`
161
-
* Follow dev guide on targeting changelog created and run `./gradlew liquibaseTag -PliquibaseCommandValue=<release-num>` to tag changelog to current release
160
+
* Ensure new changelog is in `src/main/resources/db/changelog` and add it as the last entry in `src/main/resources/db/changelog/db.changelog-root.xml` (note changelogs are executed alphanumerically - careful if adding suffixes)
162
161
* Notify PM of schema change for them to run on production database.
163
162
164
163
**Role: PM**
165
164
* In `gradle.properties` amend the fields `liquibaseDbUrl`, `liquibaseUsername` and `liquibasePassword` to match the IP and the username and password for the role used to login into Cloud SQL
166
-
* Run `./gradlew liquibaseUpdateToTagSql -PliquibaseCommandValue=<release-num>`
165
+
* Run `./gradlew liquibaseUpdateToTag -PliquibaseCommandValue="<release-num>"`
0 commit comments