aboutsummaryrefslogtreecommitdiffstats
path: root/man/bolt-status.1
blob: 0cb9d4f3ee8112b0832896935254c6a0c97a49d3 (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
0001       create_users_table    X
0002       add_email_index
.Ed
.Sh SEE ALSO
.Xr bolt 1 ,
.Xr bolt-down 1 ,
.Xr bolt-up 1