Merge "Vitrage-dbsync only create non existing tables"
This commit is contained in:
commit
d42ec73b64
@ -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