Skip to content

Commit ba9c028

Browse files
NicolasCwyziqing26
authored andcommitted
Update maintainer guide
1 parent 3b20185 commit ba9c028

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

maintainer-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@ 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+
* Manually add a new changeset to the bottom of changelog file, to tag the database (Refer to [official liquibase documentation](https://docs.liquibase.com/change-types/tag-database.html)).
161+
* 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)
162162
* Notify PM of schema change for them to run on production database.
163163

164164
**Role: PM**
165165
* 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>`
166+
* Run `./gradlew liquibaseUpdateToTag -PliquibaseCommandValue="<release-num>"`
167167

168168
### Data migration
169169

0 commit comments

Comments
 (0)