diff options
author | neodarz <neodarz@neodarz.net> | 2019-01-11 23:41:00 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-01-11 23:41:00 +0100 |
commit | c01eb0e3220924c24aabc3ccd282f89f9ed9cb3e (patch) | |
tree | 923bfd3ac6d42a182641f3e67ac9454b32e0ba22 /app.py | |
parent | 82746a2b76e5948333133bfe07c1042af2cd33b7 (diff) | |
download | khanindexer-c01eb0e3220924c24aabc3ccd282f89f9ed9cb3e.tar.xz khanindexer-c01eb0e3220924c24aabc3ccd282f89f9ed9cb3e.zip |
Add first implementation of a database
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +from database.models import Page, db +import config + +def main(): + db.create_tables([Page]) + +if __name__ == '__main__': + main() |