From c01eb0e3220924c24aabc3ccd282f89f9ed9cb3e Mon Sep 17 00:00:00 2001 From: neodarz Date: Fri, 11 Jan 2019 23:41:00 +0100 Subject: Add first implementation of a database --- app.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app.py (limited to 'app.py') 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() -- cgit v1.2.1