diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-13 22:20:16 -0800 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-13 22:20:16 -0800 |
| commit | 7026e3861a5712ced6f2006f282c8386b4db106e (patch) | |
| tree | 18db906e76c1736a831f345b4832db91964c960a /man/bolt-tutorial.7 | |
| parent | Remove timestamp version style in favor of always using sequential (diff) | |
| download | cli-7026e3861a5712ced6f2006f282c8386b4db106e.zip | |
Pad new migrations to 4 digits
Diffstat (limited to 'man/bolt-tutorial.7')
| -rw-r--r-- | man/bolt-tutorial.7 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/bolt-tutorial.7 b/man/bolt-tutorial.7 index ae2446e..2448594 100644 --- a/man/bolt-tutorial.7 +++ b/man/bolt-tutorial.7 @@ -36,7 +36,7 @@ Create a migration with: This creates a .Pa migrations/ directory with a file like: -.Dl 001_create_users_table.sql +.Dl 0001_create_users_table.sql .Sh WRITING MIGRATION SCRIPTS Edit the migration file to add SQL statements: .Bd -literal -offset indent @@ -63,7 +63,7 @@ Apply all pending migrations: .Dl $ bolt up .Pp Apply up to a specific version: -.Dl $ bolt up -v 001 +.Dl $ bolt up -v 0001 .Sh CHECKING STATUS View migration status: .Dl $ bolt status @@ -74,7 +74,7 @@ Revert the most recent migration: .Dl $ bolt down .Pp Revert to a specific version: -.Dl $ bolt down -v 001 +.Dl $ bolt down -v 0001 .Sh SEE ALSO .Xr bolt 1 , .Xr bolt.toml 5 , |