.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4. .TH ALEMBIC "1" "August 2017" "alembic 0.8.8" "User Commands" .SH NAME alembic \- lightweight database migration tool for usage with the SQLAlchemy .SH DESCRIPTION usage: alembic [\-h] [\-c CONFIG] [\-n NAME] [\-x X] [\-\-raiseerr] .IP {branches, current, downgrade, edit, heads, history, init, list_templates, merge, revision, show, stamp, upgrade} \&... .SS "positional arguments:" .IP {branches, current, downgrade, edit, heads, history, init, list_templates, merge, revision, show, stamp, upgrade} .TP branches Show current branch points .TP current Display the current revision for a database. .TP downgrade Revert to a previous version. .TP edit Edit revision script(s) using $EDITOR .TP heads Show current available heads in the script directory .TP history List changeset scripts in chronological order. .TP init Initialize a new scripts directory. .TP list_templates List available templates .TP merge Merge two revisions together. Creates a new migration file. .. versionadded:: 0.7.0 .. seealso:: :ref:`branches` .TP revision Create a new revision file. .TP show Show the revision(s) denoted by the given symbol. .TP stamp \&'stamp' the revision table with the given revision; don't run any migrations. .TP upgrade Upgrade to a later version. .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-c\fR CONFIG, \fB\-\-config\fR CONFIG Alternate config file .TP \fB\-n\fR NAME, \fB\-\-name\fR NAME Name of section in .ini file to use for Alembic config .TP \fB\-x\fR X Additional arguments consumed by custom env.py scripts, e.g. \fB\-x\fR setting1=somesetting \fB\-x\fR setting2=somesetting .TP \fB\-\-raiseerr\fR Raise a full stack trace on error