diff options
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/database/prisma.yml | 12 | ||||
| -rw-r--r-- | backend/package.json | 2 |
2 files changed, 3 insertions, 11 deletions
diff --git a/backend/database/prisma.yml b/backend/database/prisma.yml index 6091cb5..8a11c08 100644 --- a/backend/database/prisma.yml +++ b/backend/database/prisma.yml @@ -1,11 +1,3 @@ -service: sick-fits -stage: ${env:PRISMA_STAGE} -cluster: wesbos/prisma-us1 - -disableAuth: true -secret: ${env:PRISMA_SECRET} - -# the file path pointing to your data model +endpoint: ${PRISMA_ENDPOINT} datamodel: datamodel.graphql - - +secret: ${env:PRISMA_SECRET} diff --git a/backend/package.json b/backend/package.json index aed9cf2..1ca4ff9 100644 --- a/backend/package.json +++ b/backend/package.json @@ -4,7 +4,7 @@ "start": "nodemon -e js,graphql -x node src/index.js", "dev": "nodemon -e js,graphql -x node --inspect src/index.js", "test": "jest", - "deploy": "prisma deploy" + "deploy": "prisma deploy --env-file variables.env" }, "dependencies": { "bcryptjs": "2.4.3", |
