mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-05-10 22:01:16 +00:00
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:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -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
|
|
||||||
|
|||||||
3
prisma/migrations/migration_lock.toml
Normal file
3
prisma/migrations/migration_lock.toml
Normal 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"
|
||||||
Reference in New Issue
Block a user