usage: alembic [-h] [-c CONFIG] [-n NAME] [-x X] [--raiseerr]
- {branches, current, downgrade, edit, heads, history, init, list_templates,
merge, revision, show, stamp, upgrade} ...
- {branches, current, downgrade, edit, heads, history, init, list_templates,
merge, revision, show, stamp, upgrade}
- branches
- Show current branch points
- current
- Display the current revision for a database.
- downgrade
- Revert to a previous version.
- edit
- Edit revision script(s) using $EDITOR
- heads
- Show current available heads in the script directory
- history
- List changeset scripts in chronological order.
- init
- Initialize a new scripts directory.
- list_templates
- List available templates
- merge
- Merge two revisions together. Creates a new migration file. ..
versionadded:: 0.7.0 .. seealso:: :ref:`branches`
- revision
- Create a new revision file.
- show
- Show the revision(s) denoted by the given symbol.
- stamp
- 'stamp' the revision table with the given revision; don't run any
migrations.
- upgrade
- Upgrade to a later version.