mirror of
https://github.com/bretzel-app/crumbs.git
synced 2026-10-13 04:06:57 +02:00
Move migration logic (ALTER TABLE) before CREATE INDEX statements so that user_id columns exist on old schemas before indexes reference them. Disable foreign keys during schema setup to avoid constraint issues. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>