Skip to content

fix: run migrations on Railway startup#121

Merged
willwearing merged 1 commit into
mainfrom
fix/migrate-on-railway-startup
Apr 12, 2026
Merged

fix: run migrations on Railway startup#121
willwearing merged 1 commit into
mainfrom
fix/migrate-on-railway-startup

Conversation

@willwearing
Copy link
Copy Markdown
Owner

Summary

  • Move prisma migrate deploy from CI (can't reach Supabase) to start:prod (runs on Railway where DB is reachable)
  • Migrations now auto-apply every deploy before the app starts

🤖 Generated with Claude Code

GitHub Actions can't reach Supabase direct DB connection (firewalled).
Move `prisma migrate deploy` into start:prod so it runs on Railway
where the DB is already reachable.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@willwearing willwearing merged commit 3516796 into main Apr 12, 2026
1 of 2 checks passed
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
graspful Building Building Preview, Comment Apr 12, 2026 8:16pm

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