Skip to content

fix: add migration for memories table + document migration workflow#73

Merged
matthiastjong merged 1 commit intomainfrom
fix/memory-migration
May 1, 2026
Merged

fix: add migration for memories table + document migration workflow#73
matthiastjong merged 1 commit intomainfrom
fix/memory-migration

Conversation

@matthiastjong
Copy link
Copy Markdown
Owner

Summary

  • Adds missing drizzle migration (0008_lonely_venus.sql) for the memories table and default_user column on tokens
  • Documents the migration workflow in AGENTS.md so this doesn't happen again

Without this migration, deployed instances get a 500 error because the default_user column doesn't exist.

Test plan

  • Migration file generated by drizzle-kit generate
  • Verified migration SQL creates table + column + indexes correctly

🤖 Generated with Claude Code

The schema changes were missing a drizzle-kit migration file, causing
500 errors on deployed instances. Also documents the migration workflow
in AGENTS.md to prevent this in the future.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@matthiastjong matthiastjong merged commit 652b768 into main May 1, 2026
3 checks passed
@matthiastjong matthiastjong deleted the fix/memory-migration branch May 1, 2026 14:26
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