diff --git a/packages/api/.env.example b/packages/api/.env.example deleted file mode 100644 index 539f2ce36..000000000 --- a/packages/api/.env.example +++ /dev/null @@ -1,2 +0,0 @@ -ENV=dev -DATABASE_URL= \ No newline at end of file diff --git a/packages/api/package.json b/packages/api/package.json index fb447c416..47f5a7f7c 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -6,7 +6,7 @@ "private": true, "license": "UNLICENSED", "scripts": { - "build": "nest build", + "build": "npx prisma migrate dev --name init && nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", "start:dev": "nest start --watch",