From a399834595e24645937c1f280fb44209c9a99209 Mon Sep 17 00:00:00 2001 From: Yazeed Loonat Date: Tue, 15 Oct 2024 09:23:53 -0700 Subject: [PATCH] fix: may the force be with you (#4388) --- api/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/package.json b/api/package.json index a6adf16404..e042cba6d2 100644 --- a/api/package.json +++ b/api/package.json @@ -19,7 +19,7 @@ "test:cov": "yarn db:resetup && yarn db:migration:run && jest --config ./test/jest-with-coverage.config.js --logHeapUsage", "test:cov-ci": "yarn db:migration:run && jest --config ./test/jest-with-coverage.config.js --runInBand --logHeapUsage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", - "db:resetup": "psql -c 'DROP DATABASE IF EXISTS bloom_prisma;' && psql -c 'CREATE DATABASE bloom_prisma;' && psql -d bloom_prisma -c 'CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";'", + "db:resetup": "psql -c 'DROP DATABASE IF EXISTS bloom_prisma WITH (FORCE);' && psql -c 'CREATE DATABASE bloom_prisma;' && psql -d bloom_prisma -c 'CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";'", "db:migration:run": "yarn prisma migrate deploy", "db:seed:production": "npx prisma db seed -- --environment production", "db:seed:staging": "npx prisma db seed -- --environment staging",