Skip to content

chore: Use IF NOT EXISTS for index of App_RoutingForms_FormResponse#27814

Merged
emrysal merged 1 commit intomainfrom
chore/check-if-exists-response-migration
Feb 9, 2026
Merged

chore: Use IF NOT EXISTS for index of App_RoutingForms_FormResponse#27814
emrysal merged 1 commit intomainfrom
chore/check-if-exists-response-migration

Conversation

@keithwillcode
Copy link
Copy Markdown
Contributor

@keithwillcode keithwillcode commented Feb 9, 2026

Summary by cubic

Use CREATE INDEX IF NOT EXISTS for App_RoutingForms_FormResponse(formId, createdAt) to avoid errors if the index already exists. This makes the migration safe to rerun and reduces deployment friction.

Written for commit f4863e6. Summary will update on new commits.

@keithwillcode keithwillcode self-assigned this Feb 9, 2026
@keithwillcode keithwillcode requested a review from a team as a code owner February 9, 2026 19:49
@keithwillcode keithwillcode added this to the v6.2 milestone Feb 9, 2026
@graphite-app graphite-app Bot added foundation core area: core, team members only labels Feb 9, 2026
@github-actions github-actions Bot added the ❗️ migrations contains migration files label Feb 9, 2026
@emrysal emrysal enabled auto-merge (squash) February 9, 2026 19:50
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@keithwillcode keithwillcode changed the title chore: Use IF NOT EXISTS for index of App_RoutingForms_FormResponse perf: Use IF NOT EXISTS for index of App_RoutingForms_FormResponse Feb 9, 2026
@keithwillcode keithwillcode changed the title perf: Use IF NOT EXISTS for index of App_RoutingForms_FormResponse chore: Use IF NOT EXISTS for index of App_RoutingForms_FormResponse Feb 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 9, 2026

E2E results are ready!

@emrysal emrysal merged commit e2e1ba0 into main Feb 9, 2026
122 of 138 checks passed
@emrysal emrysal deleted the chore/check-if-exists-response-migration branch February 9, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only foundation ❗️ migrations contains migration files ready-for-e2e size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants