Change quick setup to use docker compose plugin (#7098)

Co-authored-by: Renan <renan.cleyson@moredev.tech>
Co-authored-by: Leo Giovanetti <hello@leog.me>
Co-authored-by: Omar López <zomars@me.com>
pull/7165/head^2
Renan Cleyson 2023-03-08 16:43:39 -03:00 committed by GitHub
parent 0ee3b26ca8
commit 2da5b19a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 || 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 || 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",