fix(prisma): track migration SQL files in git
migration.sql was gitignored, so CI builds a Docker image from a fresh clone with empty migration directories. prisma migrate deploy then has nothing to apply, leaving the database schema-less on first launch (P2021: table does not exist).
This commit is contained in:
@@ -38,8 +38,5 @@ yarn-error.log*
|
||||
*.tsbuildinfo
|
||||
next-env.d.ts
|
||||
|
||||
# prisma
|
||||
prisma/migrations/*/migration.sql
|
||||
|
||||
# local Claude Code tooling (skills, agent config) - not part of the app
|
||||
/.claude
|
||||
|
||||
Reference in New Issue
Block a user