aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2024-03-11 20:18:11 -0400
committerEugene Triguba <eugenetriguba@gmail.com>2024-03-11 20:18:11 -0400
commitd5493543b873f3d63a910d3750c953b89a5fa3b4 (patch)
tree06c142e13b42072f5aa23eab637780171010cf3a /README.md
parentAdd healthcheck for docker compose databases (diff)
downloadcli-d5493543b873f3d63a910d3750c953b89a5fa3b4.zip
Update readme version style
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 6bd02c2..b9f80a4 100644
--- a/README.md
+++ b/README.md
@@ -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