Skip to content

實作 SQLite 儲存與明確 schema migration #5

Closed

Description

@Command1264

上層 roadmap:#1

受阻於:#3、#4

目標

提供預設 SQLite persistence adapter、明確 schema migration 與具 transaction 保證的 Claim。

驗收條件

  • 玩家識別、First Seen At、Invite Code、Invitation、qualification fact、Reward Action 與 Audit Record 可跨重啟保存。
  • Schema version 只能透過按順序執行的明確 migration 前進。
  • Migration 失敗後保留可復原的資料庫,並在啟動時顯示可操作的錯誤。
  • Unique constraint 與 transaction 強制維持一名 Invitee 最多一名 Inviter。
  • Repository contract test 使用暫存 SQLite database 執行。
  • Blocking I/O 不得在 server main thread 執行。

Activity

  1. added
    needs-triage
    on Sep 20, 2026
  2. changed the title [-]SQLite storage and explicit schema migrations[/-] [+]實作 SQLite 儲存與明確 schema migration[/+] on Sep 20, 2026
  3. added
    ready-for-agent
    and removed
    needs-triage
    on Sep 21, 2026
  4. Command1264 commented on Sep 22, 2026

    @Command1264
    OwnerAuthor

    PR #16 已合併至 develop,SQLite persistence、schema migration、transaction 與 repository contract 驗收完成。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions