ソースを参照

fixes schema setup (should fix travis build)

Damien ACCORSI 9 年 前
コミット
e2ff8f1798
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3 0
      tracim/tracim/websetup/schema.py

+ 3 - 0
tracim/tracim/websetup/schema.py ファイルの表示

@@ -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()