drop tables

This commit is contained in:
Łukasz Jędyk 2022-01-24 22:12:07 +01:00
parent 8ddfdf0639
commit f8aab50eae

View File

@ -21,6 +21,7 @@ def create_app():
twitter_db.init_app(app) twitter_db.init_app(app)
campaign_db.init_app(app) campaign_db.init_app(app)
twitter_db.drop_all(app=app)
twitter_db.create_all(app=app) twitter_db.create_all(app=app)
#campaign_db.create_all(app=app) #campaign_db.create_all(app=app)