Vitrage-dbsync only create non existing tables
Change-Id: I634dd8788979f5f585de17b4cdbcbd509851cf11
This commit is contained in:
parent
bf1703b64d
commit
286b6a574d
@ -61,7 +61,7 @@ class Connection(base.Connection):
|
|||||||
def upgrade(self, nocreate=False):
|
def upgrade(self, nocreate=False):
|
||||||
engine = self._engine_facade.get_engine()
|
engine = self._engine_facade.get_engine()
|
||||||
engine.connect()
|
engine.connect()
|
||||||
models.Base.metadata.create_all(engine, checkfirst=False)
|
models.Base.metadata.create_all(engine)
|
||||||
# TODO(idan_hefetz) upgrade logic is missing
|
# TODO(idan_hefetz) upgrade logic is missing
|
||||||
|
|
||||||
def disconnect(self):
|
def disconnect(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user