Skip to content

[regression] Local main is unrunnable: unapplied migration plus a dev DB that points at Supabase #79

Description

@zacgoodwin

Repro

Check out main at 608ed6b and start the dev server. Every request 500s on ActiveRecord::PendingMigrationError because 20260721120000_add_chapter_to_campaigns is unapplied, and the development DB targets the live Supabase project which has no campaigns.chapter column. Tlc::Warnings#campaign_chapter does @character.campaigns.pluck(:chapter), so a TLC sheet would 500 on PG::UndefinedColumn too. CLAUDE.md forbids running db:migrate against Supabase, so there is no sanctioned local path to a runnable main. Production is fine -- the Fly release_command applies it on deploy -- but nobody can run main locally until then.

First suspect

config/database.yml

Filed by /z-loop end-of-loop (regression), loop 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions