summaryrefslogtreecommitdiff
path: root/alembic/templates/pylons
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-11-22 14:58:09 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-11-22 14:58:09 -0500
commit3be8c227264d6d7820adb46ab5b939dd92c29caf (patch)
tree6bc002f882733e04ed5085f4fadad45135b89a7c /alembic/templates/pylons
parent296c5160285500fd52973d327608410c6b4ebbdd (diff)
downloadalembic-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/pylons')
-rw-r--r--alembic/templates/pylons/alembic.ini.mako5
1 files changed, 5 insertions, 0 deletions
diff --git a/alembic/templates/pylons/alembic.ini.mako b/alembic/templates/pylons/alembic.ini.mako
index 6a5f206..62191e0 100644
--- a/alembic/templates/pylons/alembic.ini.mako
+++ b/alembic/templates/pylons/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