diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-11-22 14:58:09 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-11-22 14:58:09 -0500 |
commit | 3be8c227264d6d7820adb46ab5b939dd92c29caf (patch) | |
tree | 6bc002f882733e04ed5085f4fadad45135b89a7c /alembic/templates/multidb | |
parent | 296c5160285500fd52973d327608410c6b4ebbdd (diff) | |
download | alembic-3be8c227264d6d7820adb46ab5b939dd92c29caf.tar.gz |
- In conjunction with support for multiple independent bases, the
specific version directories are now also configurable to include
multiple, user-defined directories. When multiple directories exist,
the creation of a revision file with no down revision requires
that the starting directory is indicated; the creation of subsequent
revisions along that lineage will then automatically use that
directory for new files.
fixes #124
Diffstat (limited to 'alembic/templates/multidb')
-rw-r--r-- | alembic/templates/multidb/alembic.ini.mako | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/alembic/templates/multidb/alembic.ini.mako b/alembic/templates/multidb/alembic.ini.mako index ced3558..929a4be 100644 --- a/alembic/templates/multidb/alembic.ini.mako +++ b/alembic/templates/multidb/alembic.ini.mako @@ -20,6 +20,11 @@ script_location = ${script_location} # versions/ directory # sourceless = false +# version location specification; this defaults +# to ${script_location}/versions. When using multiple version +# directories, initial revisions must be specified with --version-path +# version_locations = %(here)s/bar %(here)s/bat ${script_location}/versions + # the output encoding used when revision files # are written from script.py.mako # output_encoding = utf-8 |