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/_/