Skip to content

fix: correct column name case in initial migration to unblock CI#412

Merged
younes200 merged 2 commits intoupgrade-nextjsfrom
copilot/sub-pr-400
Mar 19, 2026
Merged

fix: correct column name case in initial migration to unblock CI#412
younes200 merged 2 commits intoupgrade-nextjsfrom
copilot/sub-pr-400

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 19, 2026

Migration 0002 was failing on fresh DB setups because 0000_initial.sql created Annotation."orignalUrl" (lowercase u) while the Drizzle snapshot and 0002 both reference "orignalURL" (uppercase). PostgreSQL treats quoted identifiers as case-sensitive, so the DROP COLUMN failed.

Change

  • 0000_initial.sql: rename "orignalUrl""orignalURL" to match the Drizzle snapshot and downstream migration
-- before
"orignalUrl" text

-- after
"orignalURL" text

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

…h snapshot

Co-authored-by: younes200 <198514+younes200@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade nextjs fix: correct column name case in initial migration to unblock CI Mar 19, 2026
Copilot AI requested a review from younes200 March 19, 2026 18:08
@younes200 younes200 marked this pull request as ready for review March 19, 2026 19:44
@younes200 younes200 merged commit b157f38 into upgrade-nextjs Mar 19, 2026
1 check passed
@younes200 younes200 deleted the copilot/sub-pr-400 branch March 19, 2026 19:44
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.

2 participants