Commit f560b7b
fix: remove --skip-generate flag from prisma db push (removed in Prisma 7)
Prisma 7 removed the --skip-generate flag from 'prisma db push'. This caused
the testcontainers migration command to fail silently (tinyexec swallows the
error), resulting in empty databases and 'table does not exist' errors in tests.
Also added --url flag to pass the connection string directly to the CLI,
ensuring the correct URL is used regardless of config file resolution.
Co-Authored-By: Eric Allam <eallam@icloud.com>1 parent 6c5d959 commit f560b7b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments