完成错误测试用例

This commit is contained in:
Your Name
2026-01-31 11:02:59 +08:00
parent 588e3bb478
commit 11cef531bd
15 changed files with 909 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# 创建 ocean 数据库及表(需本机执行并输入 sudo 密码)
set -e
cd "$(dirname "$0")/.."
echo "正在执行 schema.sql ..."
sudo mysql < backend/schema.sql
echo "完成。验证表:"
sudo mysql -e "USE ocean; SHOW TABLES;"
echo "数据库 ocean 与表已就绪。"