]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Ease debugging alembic by passing proper scripts path in alembic.ini
authorIhar Hrachyshka <ihrachys@redhat.com>
Mon, 22 Jun 2015 13:43:20 +0000 (15:43 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Mon, 22 Jun 2015 13:44:55 +0000 (15:44 +0200)
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

neutron/db/migration/alembic.ini

index 82dec7381f081d7703e17539ea12ae0bc51ee92f..3fb3b0fce0282023f2971b12c9d4bcbcc718d47d 100644 (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