Ease debugging alembic by passing proper scripts path in alembic.ini

Otherwise, anyone who attempts to issue an alembic command with the file
gets:

  FAILED: Path doesn't exist:
  '<...>/neutron/neutron/db/migration/alembic'.  Please use the 'init'
  command to create a new scripts folder.

Change-Id: I5b5f2802b478c8d8c327d24faa838f7a6859b979
This commit is contained in:
Ihar Hrachyshka
2015-06-22 15:43:20 +02:00
parent f0a409f168
commit 6da2d24ff4

View File

@@ -2,7 +2,7 @@
[alembic]
# path to migration scripts
script_location = %(here)s/alembic
script_location = %(here)s/alembic_migrations
# template used to generate migration files
# file_template = %%(rev)s_%%(slug)s