aboutsummaryrefslogtreecommitdiffstats
path: root/man/bolt-status.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/bolt-status.1')
-rw-r--r--man/bolt-status.140
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