From 87937b07223ba5d462c2710d332a1d0593961003 Mon Sep 17 00:00:00 2001 From: congsh Date: Fri, 17 Apr 2026 16:23:47 +0800 Subject: [PATCH] fix: clean up stale migration backup, remove hardcoded credentials from README Co-Authored-By: Claude Opus 4.7 --- backend/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/README.md b/backend/README.md index ef829f3..7325c97 100644 --- a/backend/README.md +++ b/backend/README.md @@ -13,7 +13,7 @@ docker-compose up -d ``` 访问: http://localhost:8090/_/ -管理后台: http://localhost:8090/_/ (admin/admin) +管理后台: http://localhost:8090/_/ (首次访问时创建管理员账号) ## 环境变量 @@ -25,6 +25,11 @@ PB_DATA=./pb_data PB_MIGRATIONS=./pb_migrations ``` +## 数据库集合 + +数据库集合通过 PocketBase 管理后台手动创建。`pb_migrations/` 目录无自动迁移文件。 +如需重建数据库,请在管理后台中创建以下集合:users、groups、team_sessions、invitations、games。 + ## 开发环境 访问管理后台: http://localhost:8090/_/