Skip to content

Commit 0c5cc32

Browse files
committed
Update maintainer guide
1 parent 87a0c27 commit 0c5cc32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

maintainer-guide.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,12 @@ Schema migration is necessary when tables/ columns are amended/ added. Refer to
157157

158158
**Role: RL**
159159
* 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)
162161
* Notify PM of schema change for them to run on production database.
163162

164163
**Role: PM**
165164
* 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>"`
167166

168167
### Data migration
169168

0 commit comments

Comments
 (0)