2
0

chore: 🗑️ Tidy up env files

This commit is contained in:
Baptiste Arnaud
2022-02-10 17:13:57 +01:00
parent 19f4fdb83a
commit 901e2f39b0
8 changed files with 20 additions and 9 deletions

1
packages/db/.env.example Normal file
View File

@ -0,0 +1 @@
DATABASE_URL=postgresql://postgres:@localhost:5432/typebot

View File

@ -13,7 +13,7 @@
"@prisma/client": "^3.8.1"
},
"scripts": {
"dev": "yarn prisma db push && BROWSER=none yarn prisma studio",
"dev": "dotenv -e .env yarn prisma db push && BROWSER=none yarn prisma studio",
"build": "yarn migration:push",
"migration:push": "dotenv -e ../../.env yarn prisma db push",
"migration:create": "dotenv -e ../../.env yarn prisma migrate dev",