diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-03-11 20:18:11 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-03-11 20:18:11 -0400 |
| commit | d5493543b873f3d63a910d3750c953b89a5fa3b4 (patch) | |
| tree | 06c142e13b42072f5aa23eab637780171010cf3a | |
| parent | Add healthcheck for docker compose databases (diff) | |
| download | cli-d5493543b873f3d63a910d3750c953b89a5fa3b4.zip | |
Update readme version style
| -rw-r--r-- | README.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -87,7 +87,7 @@ Upon completion, a migrations directory will be created with the following struc ```bash migrations/ -└── 20240113162817_my_first_migration +└── 001_my_first_migration ├── downgrade.sql └── upgrade.sql @@ -164,8 +164,8 @@ Apply your migration, which will execute the `upgrade.sql` script: ```bash $ bolt up -Applying migration 20240113162817_my_first_migration.. -Successfully applied migration 20240113162817_my_first_migration! +Applying migration 001_my_first_migration.. +Successfully applied migration 001_my_first_migration! ``` ### Checking Migration Status @@ -175,7 +175,7 @@ To view the status of your migration: ```bash $ bolt status Version Message Applied -20240113162817 my_first_migration X +001 my_first_migration X ``` This command displays the migration's version, name, and whether the migration was applied or not. @@ -206,8 +206,8 @@ To revert your migration: ```bash $ bolt down -Reverting migration 20240113162817_my_first_migration.. -Successfully reverted migration 20240113162817_my_first_migration! +Reverting migration 001_my_first_migration.. +Successfully reverted migration 001_my_first_migration! ``` ### Verifying Migration Reversion |