create tables fix

This commit is contained in:
Łukasz Jędyk 2022-01-24 21:52:38 +01:00
parent 9bc20aea07
commit 1c0179e088

View File

@ -21,8 +21,8 @@ def create_app():
twitter_db.init_app(app)
campaign_db.init_app(app)
twitter_db.create_all()
#campaign_db.create_all()
twitter_db.create_all(app=app)
#campaign_db.create_all(app=app)
app.register_blueprint(twitter, url_prefix='/twitter')
app.register_blueprint(campaign, url_prefix='/campaign')