aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask/model.py
diff options
context:
space:
mode:
authorSam2013-05-10 21:11:54 +0000
committerSam2013-05-10 21:11:54 +0000
commitfba7e9220054bf71a0c363da90378e0c42142b4a (patch)
tree0977bf9702d0a71d09d1aadcff42682df0aebfe2 /wqflask/wqflask/model.py
parent8ff6e6a1b7f4e435eb06130b82cce579bcd32dcc (diff)
downloadgenenetwork2-fba7e9220054bf71a0c363da90378e0c42142b4a.tar.gz
More security changes
Diffstat (limited to 'wqflask/wqflask/model.py')
-rw-r--r--wqflask/wqflask/model.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wqflask/wqflask/model.py b/wqflask/wqflask/model.py
index be86ce77..9f9267d9 100644
--- a/wqflask/wqflask/model.py
+++ b/wqflask/wqflask/model.py
@@ -37,3 +37,6 @@ class User(db.Model, UserMixin):
# Setup Flask-Security
user_datastore = SQLAlchemyUserDatastore(db, User, Role)
security = Security(app, user_datastore)
+
+
+db.metadata.create_all(db.engine)