fix: track migration_lock.toml required by prisma migrate deploy

The migration_lock.toml was excluded by a gitignore pattern
(prisma/migrations/**/migration_lock.toml) which caused
`prisma migrate deploy` to fail in CI with no lock file present.
Prisma requires this file to be version-controlled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
xCyanGrizzly
2026-02-18 16:07:28 +01:00
parent a6fd8ca877
commit 36d403cef5
2 changed files with 5 additions and 4 deletions

6
.gitignore vendored
View File

@@ -42,11 +42,9 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts
# prisma
prisma/migrations/**/migration_lock.toml
# prisma — generated client (regenerated by `prisma generate`)
/src/generated/prisma
# ide
.idea
.vscode
/src/generated/prisma