From 0e05110d81af1425d12b2903507e0c865164dcd7 Mon Sep 17 00:00:00 2001 From: James Gilmore <109554461+GilmoreA6@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:59:08 -0800 Subject: [PATCH] updating docs for db reversion in repo (#1569) * updating docs for db reversion in repo --- docs/database.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/database.md b/docs/database.md index 98894bd29..e235d1289 100644 --- a/docs/database.md +++ b/docs/database.md @@ -81,8 +81,10 @@ To revert changes in the Azure database we use The Github Actions runner. 2. Select Run workflow 3. Run the workflow (Example inputs below) - Use workflow from: Always Main - - Number of migrations to rollback, an integer that is specific to the file input - - File with migrations you want to roll back: This should be the file containing the specific sub-file in the `databaseMigrations` directory you want to rollback from EX: `./etor/databaseMigrations/metadata.yml` + - Number of migrations to rollback, an integer that is specific to the file input [liquibase-documentation](https://docs.liquibase.com/commands/rollback/rollback-count.html) + - File with migrations you want to roll back: This should be the file containing the specific sub-file in the `databaseMigrations` directory + you want to rollback from. Generally you want to pick the root migration because it takes all the migrations into account so the number of + migrations is applied to all the migrations. EX: `./etor/databaseMigrations/root.yml` - Azure environment to rollback on: Select the environment you want to see the changes reverted from 4. Once you have the inputs entered select Run Workflow on the tab and the workflow should start up