fix: use the new docker compose command if it exists (#5852)
parent
2b67ea9635
commit
a6836a1488
|
@ -7,12 +7,12 @@
|
|||
"clean": "rm -rf .turbo && rm -rf node_modules",
|
||||
"db-deploy": "yarn prisma migrate deploy",
|
||||
"db-migrate": "yarn prisma migrate dev",
|
||||
"db-nuke": "docker-compose down --volumes --remove-orphans",
|
||||
"db-nuke": "docker-compose down --volumes --remove-orphans || docker compose down --volumes --remove-orphans",
|
||||
"db-reset": "run-s db-nuke db-setup",
|
||||
"db-seed": "yarn prisma db seed",
|
||||
"db-setup": "run-s db-up db-deploy db-seed",
|
||||
"db-studio": "yarn prisma studio",
|
||||
"db-up": "docker-compose up -d",
|
||||
"db-up": "docker-compose up -d || docker compose up -d",
|
||||
"dx": "yarn db-setup",
|
||||
"generate-schemas": "prisma generate && prisma format",
|
||||
"post-install": "yarn generate-schemas",
|
||||
|
|
Loading…
Reference in New Issue