Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

updating docs for db reversion in repo #1569

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down