Skip to content

fix: remove duplicate last_used_at from migration 0012#103

Merged
matthiastjong merged 1 commit into
mainfrom
hotfix/fix-migration-0012
Jun 9, 2026
Merged

fix: remove duplicate last_used_at from migration 0012#103
matthiastjong merged 1 commit into
mainfrom
hotfix/fix-migration-0012

Conversation

@matthiastjong

Copy link
Copy Markdown
Owner

Summary

  • Migration 0012 contained a duplicate ALTER TABLE "skills" ADD COLUMN "last_used_at" that was already applied by migration 0011
  • This caused deployment failure: column "last_used_at" of relation "skills" already exists
  • Removed the duplicate statement, keeping only the email column addition and memories.last_used_at drop

Urgency

Hotfix — production deployment is blocked.

🤖 Generated with Claude Code

Migration 0011 already added last_used_at to skills table.
Migration 0012 incorrectly included it again due to a snapshot
chain collision during db:generate, causing deployment failure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@matthiastjong matthiastjong merged commit ef91f8c into main Jun 9, 2026
4 checks passed
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