]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Use internal DB management
authorZane Bitter <zbitter@redhat.com>
Tue, 12 Mar 2013 09:03:29 +0000 (10:03 +0100)
committerZane Bitter <zbitter@redhat.com>
Tue, 12 Mar 2013 09:03:37 +0000 (10:03 +0100)
commit16cd2030aaa86cb040d028a1038daf07e54b19ee
tree512e9eaf6d34cdaf04607a6396a40944b9d66c8f
parent36672da65ecf88607ba0faf5330054ca4857d2a6
Use internal DB management

Use our own internal code for managing database migrations, rather than
calling sqlalchemy-migrate's command line directly. This allows us to
automatically specify the initial version of the database, which is
required in order to be able to squash migrations (bug 1072949).

Change-Id: I88206f8b55fe6fe4016cee8e5bf1d5eeb0ae30d2
bin/heat-db-setup
heat/db/sync.py [new file with mode: 0644]