From 029085a56f364a8a10ef438df0621bda6485d25f Mon Sep 17 00:00:00 2001 From: Jimmy Ma Date: Mon, 13 Jun 2022 10:31:34 -0700 Subject: [PATCH] Keep doc up-to-date with changes (#13667) `airbyte-db/lib` has been renamed to `airbyte-db/db-lib` --- airbyte-db/db-lib/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/airbyte-db/db-lib/README.md b/airbyte-db/db-lib/README.md index 087a051920e4b..22d3dca69642d 100644 --- a/airbyte-db/db-lib/README.md +++ b/airbyte-db/db-lib/README.md @@ -21,15 +21,15 @@ Check `io.airbyte.db.instance.configs` for example. # How to Write a Migration - Run the `newMigration` command to create a new migration file in `io.airbyte.db.instance..migrations`. - - Configs database: `./gradlew :airbyte-db:lib:newConfigsMigration`. - - Jobs database: `./gradlew :airbyte-db:lib:newJobsMigration`. + - Configs database: `./gradlew :airbyte-db:db-lib:newConfigsMigration`. + - Jobs database: `./gradlew :airbyte-db:db-lib:newJobsMigration`. - Write the migration using [`jOOQ`](https://www.jooq.org/). - Use the `runMigration` command to apply your newly written migration if you want to test it. - - Configs database: `./gradlew :airbyte-db:lib:runConfigsMigration`. - - Jobs database: `./gradlew :airbyte-db:lib:runJobsMigration`. + - Configs database: `./gradlew :airbyte-db:db-lib:runConfigsMigration`. + - Jobs database: `./gradlew :airbyte-db:db-lib:runJobsMigration`. - Run the `dumpSchema` command to update the database schema. - - Configs database: `./gradlew :airbyte-db:lib:dumpConfigsSchema` - - Jobs database: `./gradlew :airbyte-db:lib:dumpJobsSchema` + - Configs database: `./gradlew :airbyte-db:db-lib:dumpConfigsSchema` + - Jobs database: `./gradlew :airbyte-db:db-lib:dumpJobsSchema` ## Migration Filename - The name of the file should follow this pattern: `V(version)__(migration_description_in_snake_case).java`.