Browse Source

fixes schema setup (should fix travis build)

Damien ACCORSI 9 years ago
parent
commit
e2ff8f1798
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tracim/tracim/websetup/schema.py

+ 3 - 0
tracim/tracim/websetup/schema.py View File

@@ -28,6 +28,9 @@ def setup_schema(command, conf, vars):
28 28
 
29 29
     # <websetup.websetup.schema.after.metadata.create_all>
30 30
     transaction.commit()
31
+    print("Create additionnal tables.")
32
+    model.metadata.create_all(bind=config['tg.app_globals'].sa_engine)
33
+
31 34
     print('Initializing Migrations')
32 35
     import alembic.config, alembic.command
33 36
     alembic_cfg = alembic.config.Config()