aboutsummaryrefslogtreecommitdiffstats
path: root/man/bolt-status.1
blob: 10a60bcaf61057b31192a968c539fd3c357971e1 (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
39
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