File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ services:
1717 image : mcr.microsoft.com/devcontainers/base:debian
1818 environment :
1919 DATABASE_URL : postgresql://postgres:postgres@localhost:5432/postgres
20- PRISMA_DATABASE_URL : postgresql://postgres:postgres@localhost:5432/postgres?pool_timeout=60
2120 privileged : true
2221 volumes :
2322 - ..:/workspaces/loa-work:delegated
Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ jobs:
162162 --log-opt max-file=5 \
163163 -e NODE_ENV=production \
164164 -e DATABASE_URL="${{ secrets.DATABASE_URL }}" \
165- -e PRISMA_DATABASE_URL="${{ secrets.PRISMA_DATABASE_URL }}" \
166165 -e GOOGLE_CLIENT_ID="${{ secrets.GOOGLE_CLIENT_ID }}" \
167166 -e GOOGLE_CLIENT_SECRET="${{ secrets.GOOGLE_CLIENT_SECRET }}" \
168167 -e DISCORD_CLIENT_ID="${{ secrets.DISCORD_CLIENT_ID }}" \
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ setup-testdb:
158158 psql " {{ devdb_url }} " -c " DROP DATABASE IF EXISTS test"
159159 psql " {{ devdb_url }} " -c " CREATE DATABASE test OWNER postgres"
160160 cd " {{ backend_dir }} "
161- PRISMA_DATABASE_URL =" {{ testdb_url }} " PRISMA_CLIENT_ENGINE_TYPE={{ prisma_engine }} yarn prisma migrate dev
161+ DATABASE_URL =" {{ testdb_url }} " PRISMA_CLIENT_ENGINE_TYPE={{ prisma_engine }} yarn prisma migrate dev
162162
163163test target * args :
164164 #!/usr/bin/env bash
@@ -170,7 +170,7 @@ test target *args:
170170
171171 just setup-testdb
172172 cd " {{ backend_dir }} "
173- PRISMA_DATABASE_URL =" postgres://postgres:postgres@localhost:5432/test?pool_timeout=60" NODE_OPTIONS=" --max_old_space_size=8192" PRISMA_CLIENT_ENGINE_TYPE={{ prisma_engine }} node --expose-gc ./ node_modules/ .bin/ jest --runInBand --logHeapUsage --no-compilation-cache --silent=false {{ args }}
173+ DATABASE_URL =" postgres://postgres:postgres@localhost:5432/test?pool_timeout=60" NODE_OPTIONS=" --max_old_space_size=8192" PRISMA_CLIENT_ENGINE_TYPE={{ prisma_engine }} node --expose-gc ./ node_modules/ .bin/ jest --runInBand --logHeapUsage --no-compilation-cache --silent=false {{ args }}
174174 ;;
175175 esac
176176
@@ -182,4 +182,4 @@ test-e2e *args:
182182
183183 just setup-testdb
184184 cd " {{ backend_dir }} "
185- PRISMA_DATABASE_URL =" postgres://postgres:postgres@localhost:5432/test?pool_timeout=60" NODE_OPTIONS=" --max_old_space_size=8192" PRISMA_CLIENT_ENGINE_TYPE={{ prisma_engine }} node --expose-gc ./ node_modules/ .bin/ jest --config ./ jest-e2e.json --runInBand --no-compilation-cache --forceExit {{ args }}
185+ DATABASE_URL =" postgres://postgres:postgres@localhost:5432/test?pool_timeout=60" NODE_OPTIONS=" --max_old_space_size=8192" PRISMA_CLIENT_ENGINE_TYPE={{ prisma_engine }} node --expose-gc ./ node_modules/ .bin/ jest --config ./ jest-e2e.json --runInBand --no-compilation-cache --forceExit {{ args }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ generator client {
44
55datasource db {
66 provider = " postgresql "
7- url = env (" PRISMA_DATABASE_URL " )
7+ url = env (" DATABASE_URL " )
88}
99
1010model AuctionItemCategory {
You can’t perform that action at this time.
0 commit comments