Remove auto-generation of db schema from models at startup
This patch removes the Neutron capability of creating database tables
from sqlalchemy models for all those model classes for which
a table is not found in the database schema.
Migrations should be the official and only solution for creating and
managing the Neutron db schema.
This patch also adapts unit tests in order to ensure test schemas
are still correctly created.
Reviewed: https:/ /review. openstack. org/40296 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=9bf0e665448 0f98f2315a43687 b267263a82a823
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9bf0e6654480f98 f2315a43687b267 263a82a823
Author: Salvatore Orlando <email address hidden>
Date: Mon Aug 5 08:07:02 2013 -0700
Remove auto-generation of db schema from models at startup
This patch removes the Neutron capability of creating database tables
from sqlalchemy models for all those model classes for which
a table is not found in the database schema.
Migrations should be the official and only solution for creating and
managing the Neutron db schema.
This patch also adapts unit tests in order to ensure test schemas
are still correctly created.
DocImpact
Update deployment documentation accordingly.
Closes-Bug: #1207402
Change-Id: Ie4ee5507888eca d5f6dc32ce7a029 c43014687a2
Co-Authored-By: Henry Gessau <email address hidden>