You've already forked my-video-workflow
posting+video_part预
This commit is contained in:
4
app.py
4
app.py
@ -7,6 +7,8 @@ from controller.api.bilirecorder_blueprint import blueprint as api_bilirecorder_
|
||||
from controller.api.workflow_blueprint import blueprint as api_workflow_blueprint
|
||||
from controller.api.video_clip_blueprint import blueprint as api_video_clip_blueprint
|
||||
from controller.api.danmaku_clip_blueprint import blueprint as api_danmaku_clip_blueprint
|
||||
from controller.api.posting_blueprint import blueprint as api_posting_blueprint
|
||||
from controller.api.video_part_blueprint import blueprint as api_video_part_blueprint
|
||||
from model import db
|
||||
|
||||
app = Flask(__name__)
|
||||
@ -24,6 +26,8 @@ app.register_blueprint(api_bilirecorder_blueprint)
|
||||
app.register_blueprint(api_workflow_blueprint)
|
||||
app.register_blueprint(api_video_clip_blueprint)
|
||||
app.register_blueprint(api_danmaku_clip_blueprint)
|
||||
app.register_blueprint(api_posting_blueprint)
|
||||
app.register_blueprint(api_video_part_blueprint)
|
||||
with app.app_context():
|
||||
# db.drop_all(app=app)
|
||||
db.create_all(app=app)
|
||||
|
Reference in New Issue
Block a user