将数据操作全部改为迁移脚本

This commit is contained in:
zhengxinonly
2021-06-14 02:10:29 +08:00
parent 9e8a5357be
commit d7c7237cd4
37 changed files with 452 additions and 536 deletions
+2
View File
@@ -1,5 +1,6 @@
from flask import Flask
from .init_databases import register_script
from .init_sqlalchemy import db, ma, init_databases
from .init_login import init_login_manager
from .init_debug_tool import init_debug_tool
@@ -13,3 +14,4 @@ def init_plugs(app: Flask) -> None:
init_databases(app)
init_template_directives(app)
init_error_views(app)
register_script(app)