fix: 修复表数量异常问题;

This commit is contained in:
LM20230311
2026-03-04 17:56:20 +08:00
parent d8fc597f85
commit 6690c8204c
2 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/bash
# 数据库初始化脚本
# 使用 --force 参数确保即使出错也继续执行
echo "开始初始化数据库..."
# 使用 --force 参数忽略错误继续执行
mysql -uroot -proot ruoyi-ai-agent --force < /docker-entrypoint-initdb.d/ruoyi-ai-v3_mysql8.sql
echo "数据库初始化完成"