Skip to content

Commit

Permalink
Fix #117: Enhance migration docs for new db naming
Browse files Browse the repository at this point in the history
- Enhance the migration guide
- Add prerequisite sql
  • Loading branch information
jandusil committed Oct 3, 2023
1 parent 55f9c76 commit 27c14f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/PowerAuth-Mobile-Utility-Server-1.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ version 1.5.x.
the `1.5.x-migration-before.sql` script.

3. **Run Liquibase Commands with Docker**: To apply the database changes, execute the `docker-db-update.sh` script.
Please take a look at a list of necessary environmental variables listed
here [env.list.tmp](../deploy/env.list.tmp).

4. **Execute Post-Migration Script**: After applying the Liquibase changes, run the `1.5.x-migration-after.sql` script
located in the same directory as the pre-migration script.
Expand All @@ -38,7 +40,9 @@ changes:

### Resetting Liquibase Tracking Tables

Liquibase uses specific tables to track which changesets have been applied to the database. Occasionally, to ensure a fresh start or to reset its state, these tables might need to be dropped. The `1.5.x-migration-before.sql` script takes care of this by removing the following Liquibase-specific tables:
Liquibase uses specific tables to track which changesets have been applied to the database. Occasionally, to ensure a
fresh start or to reset its state, these tables might need to be dropped. The `1.5.x-migration-before.sql` script takes
care of this by removing the following Liquibase-specific tables:

```sql
-- Drop liquibase tracking tables
Expand Down

0 comments on commit 27c14f4

Please sign in to comment.