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

NAME

6       alembic - manual page for alembic 1.4.2
7

DESCRIPTION

9       usage: -c [-h] [-c CONFIG] [-n NAME] [-x X] [--raiseerr]
10
11              {branches,current,downgrade,edit,heads,history,init,list_tem‐
12              plates,merge,revision,show,stamp,upgrade} ...
13
14   positional arguments:
15              {branches,current,downgrade,edit,heads,history,init,list_tem‐
16              plates,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       heads  Show current available heads in the script directory.
30
31       history
32              List changeset scripts in chronological order.
33
34       init   Initialize a new scripts directory.
35
36       list_templates
37              List available templates.
38
39       merge  Merge two revisions together. Creates a new migration file.
40
41       revision
42              Create a new revision file.
43
44       show   Show the revision(s) denoted by the given symbol.
45
46       stamp  'stamp'  the  revision  table with the given revision; don't run
47              any migrations.
48
49       upgrade
50              Upgrade to a later version.
51
52   optional arguments:
53       -h, --help
54              show this help message and exit
55
56       -c CONFIG, --config CONFIG
57              Alternate config file; defaults to value of ALEMBIC_CONFIG envi‐
58              ronment variable, or "alembic.ini"
59
60       -n NAME, --name NAME
61              Name of section in .ini file to use for Alembic config
62
63       -x X   Additional  arguments consumed by custom env.py scripts, e.g. -x
64              setting1=somesetting -x setting2=somesetting
65
66       --raiseerr
67              Raise a full stack trace on error
68
69
70
71alembic 1.4.2                    February 2021                      ALEMBIC(1)
Impressum