diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-02-12 19:14:17 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-02-12 19:14:17 -0500 |
| commit | 449f74ded67b49fb3066d6d107fa6de9dba0093c (patch) | |
| tree | d18017e8e318541781d5cf1cb3e161d3c2ee0be8 /man/bolt-status.1 | |
| parent | Release v0.12.1 (diff) | |
| download | cli-449f74ded67b49fb3066d6d107fa6de9dba0093c.zip | |
Replace HTML docs with man pages that ship with bolt
Diffstat (limited to 'man/bolt-status.1')
| -rw-r--r-- | man/bolt-status.1 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/man/bolt-status.1 b/man/bolt-status.1 new file mode 100644 index 0000000..10a60bc --- /dev/null +++ b/man/bolt-status.1 @@ -0,0 +1,40 @@ +.Dd February 12, 2026 +.Dt BOLT-STATUS 1 +.Os +.Sh NAME +.Nm bolt-status +.Nd list migrations and their statuses +.Sh SYNOPSIS +.Nm bolt status +.Sh DESCRIPTION +.Nm +displays all discovered migrations and indicates which ones have been applied +to the database. +.Pp +Migrations are shown in the order they would be executed, based on their +dependency relationships. +The output includes: +.Bl -bullet -offset Ds -compact +.It +Version - The migration version number +.It +Message - The migration description +.It +Applied - An +.Ql X +if the migration has been applied, blank otherwise +.El +.Sh EXIT STATUS +.Nm +exits 0 on success, and >0 if an error occurs. +.Sh EXAMPLES +.Bd -literal -offset indent +$ bolt status +Version Message Applied +20240316145038 create_users_table X +20240317120000 add_email_index +.Ed +.Sh SEE ALSO +.Xr bolt 1 , +.Xr bolt-down 1 , +.Xr bolt-up 1 |