]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add cinder.db.migration.db_initial_version()
authorDan Prince <dprince@redhat.com>
Mon, 28 Oct 2013 14:11:24 +0000 (10:11 -0400)
committerDan Prince <dprince@redhat.com>
Mon, 28 Oct 2013 14:11:24 +0000 (10:11 -0400)
commit25a279b5ac01628b8002c7fe9f55cd546adc1654
treeca6288cf2a5a320aecc060b2c457c2e9c7a8082f
parent64c6eea42a3df46dd7f3d171f8f5d8de06e4692c
Add cinder.db.migration.db_initial_version()

Updates Cinder to use a new function called db_initial_version()
instead of the INIT_VERSION constant. This allows us to
move the top level INIT_VERSION constant into the
sqlalchemy migration.py implementation where it belongs.

Change-Id: I10dacdebb50d3121e3bfd094e40138807233aa64
cinder/db/migration.py
cinder/db/sqlalchemy/migration.py
cinder/test.py
cinder/tests/test_migrations.py