Vitrage-dbsync only create non existing tables

Change-Id: I634dd8788979f5f585de17b4cdbcbd509851cf11
This commit is contained in:
Muhamad Najjar 2017-11-27 14:12:08 +00:00 committed by Idan Hefetz
parent bf1703b64d
commit 286b6a574d

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):