Switch over to Elixir
[zzz-floof.git] / floof / websetup.py
index a812633..705c342 100644 (file)
@@ -3,6 +3,7 @@ import logging
 
 from floof.config.environment import load_environment
 from floof.model import meta
+import elixir
 
 log = logging.getLogger(__name__)
 
@@ -11,4 +12,4 @@ def setup_app(command, conf, vars):
     load_environment(conf.global_conf, conf.local_conf)
 
     # Create the tables if they don't already exist
-    meta.metadata.create_all(bind=meta.engine)
+    elixir.create_all(bind=meta.engine, checkfirst=False)