aboutsummaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/app.py b/app.py
new file mode 100644
index 0000000..2a80507
--- /dev/null
+++ b/app.py
@@ -0,0 +1,8 @@
+from database.models import Page, db
+import config
+
+def main():
+ db.create_tables([Page])
+
+if __name__ == '__main__':
+ main()