Skip to content

Commit 2a93a7e

Browse files
committed
불필요한 PRISMA_DATABASE_URL 환경변수 제거
1 parent 3414106 commit 2a93a7e

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

.devcontainer/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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 }}" \

justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

163163
test 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 }}

src/backend/prisma/schema.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ generator client {
44

55
datasource db {
66
provider = "postgresql"
7-
url = env("PRISMA_DATABASE_URL")
7+
url = env("DATABASE_URL")
88
}
99

1010
model AuctionItemCategory {

0 commit comments

Comments
 (0)