]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
fullstack: use migration scripts to create db schema
authorJakub Libosvar <libosvar@redhat.com>
Thu, 20 Aug 2015 16:02:11 +0000 (16:02 +0000)
committerJakub Libosvar <libosvar@redhat.com>
Thu, 20 Aug 2015 16:06:10 +0000 (16:06 +0000)
commit99fd239ba679d16b73684fbe0dbe31a2e472cba7
tree4710dd70d4ba881cc2a586383c2a4831efb6193c
parente2406d9e8c96a2e19aa3d7ff21582f3582325457
fullstack: use migration scripts to create db schema

Previously, we used create_all() based on models. We don't use
create_all() in production code and there is no guarantee models and
scripts are in sync even though we have a good functional test that
validates that. There are still pieces that can't be compared by
alembic.

Change-Id: I72fa67811f0763298416e6e084a8b9b86619795b
Closes-Bug: 1486528
neutron/tests/fullstack/base.py