modify scripts

This commit is contained in:
2025-07-29 20:56:46 +08:00
parent 7b81d59d1e
commit 1ba1a57f03
31 changed files with 3312 additions and 244 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 同步完成"