modify scripts

This commit is contained in:
2025-11-10 11:35:44 +08:00
parent e81ca8a3a4
commit 1582c140bf
38 changed files with 562 additions and 7 deletions

View File

@ -0,0 +1,10 @@
#!/bin/bash
cd $(dirname $0)/.. # 切换到tools目录
# 生成迁移脚本
alembic -c migrations/shared_comm/alembic.ini revision --autogenerate -m "Auto update from shared_comm"
# 执行迁移
alembic -c migrations/shared_comm/alembic.ini upgrade head
echo "数据库 shared 同步完成"