Merge "Vitrage-dbsync only create non existing tables"

This commit is contained in:
Zuul 2017-11-27 17:07:22 +00:00 committed by Gerrit Code Review
commit d42ec73b64

View File

@ -61,7 +61,7 @@ class Connection(base.Connection):
def upgrade(self, nocreate=False):
engine = self._engine_facade.get_engine()
engine.connect()
models.Base.metadata.create_all(engine, checkfirst=False)
models.Base.metadata.create_all(engine)
# TODO(idan_hefetz) upgrade logic is missing
def disconnect(self):