alxjrvs / alxjrvs/orrey

Schema: full game_days, game-day signups, one-off sessions, tables_played

未关闭
#39 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
phase:5
主要语言
HTML
星标
0
派生
0
平均合并
1 小时 34 分钟
30 天内合并 PR
23

描述

- [ ] `game_days` gains: venue, host, `capacity`, `game_id` (set for `single`), full lifecycle state, channel/message ids, `thread_id`.
- [ ] `signups.target_type = 'game_day'` enabled; `position` for waitlist ordering; the CHECK constraint that a signup never targets a session stays.
- [ ] `sessions.kind = 'one_off'` with `game_day_id` and the CHECK that exactly one of `campaign_id` / `game_day_id` is set — a game day gets a session row so attendance, threads, calendar and Discord events reuse the same machinery.
- [ ] `attendance.tables_played` (optional, nullable) — settles the open question as "yes, optional, recorded by whoever runs the day".

贡献指南

这个仓库没有索引到贡献指南

调研方向

No schema file, test, or entry point is named. Start by locating the definitions for game_days, signups, sessions, and attendance, then verify the requested fields, lifecycle state, target restrictions, and exactly-one-of constraint across the schema; done means all checklist items are represented and the existing constraints still hold.

由索引模型根据 Issue 内容生成。

评估

领域
database
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。