From 286b6a574dd5724079bb45ac52f15733fd838025 Mon Sep 17 00:00:00 2001 From: Muhamad Najjar Date: Mon, 27 Nov 2017 14:12:08 +0000 Subject: [PATCH] Vitrage-dbsync only create non existing tables Change-Id: I634dd8788979f5f585de17b4cdbcbd509851cf11 --- vitrage/storage/impl_sqlalchemy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitrage/storage/impl_sqlalchemy.py b/vitrage/storage/impl_sqlalchemy.py index cb740207b..a7261c6a1 100644 --- a/vitrage/storage/impl_sqlalchemy.py +++ b/vitrage/storage/impl_sqlalchemy.py @@ -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):