1ALEMBIC(1)                       User Commands                      ALEMBIC(1)
2
3
4

NAME

6       alembic - manual page for alembic 1.7.7
7

DESCRIPTION

9       usage: -c [-h] [--version] [-c CONFIG] [-n NAME] [-x X] [--raiseerr]
10
11              {branches,current,downgrade,edit,ensure_version,heads,his‐
12              tory,init,list_templates,merge,revision,show,stamp,upgrade} ...
13
14   positional arguments:
15              {branches,current,downgrade,edit,ensure_version,heads,his‐
16              tory,init,list_templates,merge,revision,show,stamp,upgrade}
17
18       branches
19              Show current branch points.
20
21       current
22              Display the current revision for a database.
23
24       downgrade
25              Revert to a previous version.
26
27       edit   Edit revision script(s) using $EDITOR.
28
29       ensure_version
30              Create the alembic version table if it doesn't exist already .
31
32       heads  Show current available heads in the script directory.
33
34       history
35              List changeset scripts in chronological order.
36
37       init   Initialize a new scripts directory.
38
39       list_templates
40              List available templates.
41
42       merge  Merge two revisions together. Creates a new migration file.
43
44       revision
45              Create a new revision file.
46
47       show   Show the revision(s) denoted by the given symbol.
48
49       stamp  'stamp'  the  revision  table with the given revision; don't run
50              any migrations.
51
52       upgrade
53              Upgrade to a later version.
54
55   options:
56       -h, --help
57              show this help message and exit
58
59       --version
60              show program's version number and exit
61
62       -c CONFIG, --config CONFIG
63              Alternate config file; defaults to value of ALEMBIC_CONFIG envi‐
64              ronment variable, or "alembic.ini"
65
66       -n NAME, --name NAME
67              Name of section in .ini file to use for Alembic config
68
69       -x X   Additional  arguments consumed by custom env.py scripts, e.g. -x
70              setting1=somesetting -x setting2=somesetting
71
72       --raiseerr
73              Raise a full stack trace on error
74
75
76
77alembic 1.7.7                      July 2022                        ALEMBIC(1)
Impressum