Skip to content

fix: add IF NOT EXISTS to migration index for idempotency#290

Merged
ding113 merged 1 commit intodevfrom
claude-fix-pr-289-20007050140
Dec 8, 2025
Merged

fix: add IF NOT EXISTS to migration index for idempotency#290
ding113 merged 1 commit intodevfrom
claude-fix-pr-289-20007050140

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 7, 2025

CI Auto-Fix

Original PR: #289
Failed CI Run: PR Build Check

Fixes Applied

File Fix Type
drizzle/0032_add_request_sequence.sql Added IF NOT EXISTS to CREATE INDEX statement Migration idempotency

Root Cause

The migration validation script (bun run validate:migrations) requires all CREATE INDEX statements to use IF NOT EXISTS to ensure migrations can be run multiple times without errors.

Verification

  • bun run typecheck passes
  • bun run format:check passes
  • bun run validate:migrations passes
  • No logic changes made

Auto-generated by Claude AI

Fixed:
- Added IF NOT EXISTS to CREATE INDEX in 0032_add_request_sequence.sql

CI Run: https://github.com/ding113/claude-code-hub/actions/runs/20007050140

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ding113 ding113 merged commit 8c3a0b9 into dev Dec 8, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Claude Code Hub Roadmap Dec 8, 2025
@github-actions github-actions bot mentioned this pull request Dec 8, 2025
4 tasks
@ding113 ding113 deleted the claude-fix-pr-289-20007050140 branch December 11, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant

Comments