aboutsummaryrefslogtreecommitdiffstats
path: root/man/bolt-status.1
blob: c1677c2d2200978b710d3450682e1a99f6e81af9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.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
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
001        create_users_table    X
002        add_email_index
.Ed
.Sh SEE ALSO
.Xr bolt 1 ,
.Xr bolt-down 1 ,
.Xr bolt-up 1