Skip to content

fix(migration): guard runs table update for envs without it#545

Merged
zbigniewsobiecki merged 1 commit intodevfrom
fix/migration-runs-table-check
Feb 25, 2026
Merged

fix(migration): guard runs table update for envs without it#545
zbigniewsobiecki merged 1 commit intodevfrom
fix/migration-runs-table-check

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

Test plan

  • npm run typecheck passes
  • All 3226 tests pass
  • Dev deploy succeeds (migration applies without error)
  • JIRA issue transition to SPLITTING triggers the splitting agent

🤖 Generated with Claude Code

The 0015 migration failed on dev because it references the `runs` table
which doesn't exist in all environments. Wrap the UPDATE in a DO block
that checks for table existence first.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zbigniewsobiecki zbigniewsobiecki merged commit 58d17d9 into dev Feb 25, 2026
5 checks passed
@zbigniewsobiecki zbigniewsobiecki deleted the fix/migration-runs-table-check branch February 25, 2026 09:54
@zbigniewsobiecki zbigniewsobiecki mentioned this pull request Feb 25, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant