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 *.tsbuildinfo
next-env.d.ts next-env.d.ts
# prisma # prisma — generated client (regenerated by `prisma generate`)
prisma/migrations/**/migration_lock.toml /src/generated/prisma
# ide # ide
.idea .idea
.vscode .vscode
/src/generated/prisma

View File

@@ -0,0 +1,3 @@
# Please do not edit this file manually
# It should be added in your version-control system (e.g., Git)
provider = "postgresql"