alxjrvs / alxjrvs/orrey

Schema: date_polls, poll_dates, poll_responses; minimal game_days

オープン
#34 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
phase:4
主要言語
HTML
スター
0
フォーク
0
平均マージ
1時間 34分
マージ済み PR(30日)
23

説明

- [ ] `date_polls` — nullable `target_session_id`, `game_id`, `game_day_kind`, **`win_rule`** (`min_players` | `quorum_of_roster` | `best_available` | `organiser_picks`), `win_threshold`, status, `opened_by`, `closes_at`, channel/message ids, `auto_resolve`.
- [ ] `poll_dates` — ≤10 per poll, each with an **`outcome`** (open/won/lost/withdrawn).
- [ ] `poll_responses` — poll_date_id, user_id, available (bool), responded_at.
- [ ] Partial unique index enforcing **max one open poll per target session**.
- [ ] `game_days` arrives here in minimal form (id, kind, date, title, state) because the untargeted poll mints them; capacity, venue, host, `game_id` and seating come in phase 5.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by finding the existing database schema or migration entry points in the project, since the issue does not name files. Add the date_polls, poll_dates, poll_responses, and minimal game_days structures with the listed fields and constraints. Done means the schema includes the max-one-open-poll partial unique index and the poll date limit/outcome requirements are represented.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
sql
領域
database
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
62/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。