File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
internal-packages/testcontainers/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ export async function createPostgresContainer() {
9
9
// Run migrations
10
10
const databasePath = path . resolve ( __dirname , "../../database" ) ;
11
11
12
- execSync ( `npx prisma generate --schema ${ databasePath } /prisma/schema.prisma` , {
12
+ execSync ( `npx prisma@5.4.1 generate --schema ${ databasePath } /prisma/schema.prisma` , {
13
13
env : {
14
14
...process . env ,
15
15
DATABASE_URL : container . getConnectionUri ( ) ,
16
16
DIRECT_URL : container . getConnectionUri ( ) ,
17
17
} ,
18
18
} ) ;
19
19
20
- execSync ( `npx prisma db push --schema ${ databasePath } /prisma/schema.prisma` , {
20
+ execSync ( `npx prisma@5.4.1 db push --schema ${ databasePath } /prisma/schema.prisma` , {
21
21
env : {
22
22
...process . env ,
23
23
DATABASE_URL : container . getConnectionUri ( ) ,
You can’t perform that action at this time.
0 commit comments