feat: Initial commit with full deployment architecture and scripts
This commit is contained in:
commit
abb3efe114
96 files changed
+16789
No files matched your search
@@ -0,0 +1,15 @@
|
||||
|
||||
"""
|
||||
backend/manage.py
|
||||
数据库迁移管理脚本
|
||||
"""
|
||||
from app import create_app, db
|
||||
from flask_migrate import Migrate
|
||||
|
||||
app = create_app('development')
|
||||
migrate = Migrate(app, db)
|
||||
|
||||
if __name__ == '__main__':
|
||||
# 仅作为 CLI 入口
|
||||
# 使用: flask --app manage db init/migrate/upgrade
|
||||
pass
|
||||
Reference in new issue
Block a user