Scroll to navigation

ALEMBIC(1) User Commands ALEMBIC(1)

NAME

alembic - manual page for alembic 1.7.5

DESCRIPTION

usage: -c [-h] [--version] [-c CONFIG] [-n NAME] [-x X] [--raiseerr]

{branches,current,downgrade,edit,heads,history,init,list_templates,merge,revision,show,stamp,upgrade} ...

positional arguments:

{branches,current,downgrade,edit,heads,history,init,list_templates,merge,revision,show,stamp,upgrade}
Show current branch points.
Display the current revision for a database.
Revert to a previous version.
Edit revision script(s) using $EDITOR.
Show current available heads in the script directory.
List changeset scripts in chronological order.
Initialize a new scripts directory.
List available templates.
Merge two revisions together. Creates a new migration file.
Create a new revision file.
Show the revision(s) denoted by the given symbol.
'stamp' the revision table with the given revision; don't run any migrations.
Upgrade to a later version.

optional arguments:

show this help message and exit
show program's version number and exit
Alternate config file; defaults to value of ALEMBIC_CONFIG environment variable, or "alembic.ini"
Name of section in .ini file to use for Alembic config
Additional arguments consumed by custom env.py scripts, e.g. -x setting1=somesetting -x setting2=somesetting
Raise a full stack trace on error
June 2022 alembic 1.7.5