twitter #2
@ -20,9 +20,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.drop_all(app=app)
|
|
||||||
campaign_db.create_all(app=app)
|
campaign_db.create_all(app=app)
|
||||||
|
|
||||||
app.register_blueprint(twitter, url_prefix='/twitter')
|
app.register_blueprint(twitter, url_prefix='/twitter')
|
||||||
|
Loading…
Reference in New Issue
Block a user