create tables fix
This commit is contained in:
parent
9bc20aea07
commit
1c0179e088
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user