From a25b9b8aa21b236becb91f9132000547f68392a3 Mon Sep 17 00:00:00 2001 From: Kazuki Oishi Date: Mon, 2 Oct 2023 02:56:06 +0900 Subject: [PATCH] Fixed DB connection --- .env.sample | 2 +- .env.testing | 2 +- .github/workflows/test.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.sample b/.env.sample index c2356168..0ea2cf09 100644 --- a/.env.sample +++ b/.env.sample @@ -1,4 +1,4 @@ -DB_JDBC_URL=jdbc:p6spy:postgresql://localhost:5432/aisu?createDatabaseIfNotExist=true&connectionTimeZone=UTC +DB_JDBC_URL=jdbc:p6spy:postgresql://localhost:5432/aisu DB_USERNAME=aisu DB_PASSWORD=4ab4008b362142c391cc9e1ab98addc6b25f00f5 REDIS_CONNECTION_URL=redis://localhost:6379 diff --git a/.env.testing b/.env.testing index 1f172f34..5cb4f407 100644 --- a/.env.testing +++ b/.env.testing @@ -1,4 +1,4 @@ -DB_JDBC_URL=jdbc:postgresql://localhost:5432/aisu_test?createDatabaseIfNotExist=true +DB_JDBC_URL=jdbc:postgresql://localhost:5432/aisu_test DB_USERNAME=aisu DB_PASSWORD=4ab4008b362142c391cc9e1ab98addc6b25f00f5 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3450bde7..835172ef 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,7 +19,7 @@ jobs: ports: - 5432:5432 env: - POSTGRES_DB: aisu + POSTGRES_DB: aisu_test POSTGRES_USER: aisu POSTGRES_PASSWORD: 4ab4008b362142c391cc9e1ab98addc6b25f00f5 options: >-