From e1f2afa9422f3389416e65f3bf495f332784607a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=20=E6=9F=8F?= Date: Sat, 30 Sep 2023 15:16:05 +0900 Subject: [PATCH] sqlserver->postgresql --- backend/app/core/config.py | 2 +- backend/requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/app/core/config.py b/backend/app/core/config.py index 437a350..df37913 100644 --- a/backend/app/core/config.py +++ b/backend/app/core/config.py @@ -2,7 +2,7 @@ import os PROJECT_NAME = "KintoneAppBuilder" -SQLALCHEMY_DATABASE_URI = "mssql+pymssql://maxz64@maxzdb:m@xz1205@maxzdb.database.windows.net/alloc" +SQLALCHEMY_DATABASE_URI = "postgres://maxz64:m@xz1205@alicornkintone.postgres.database.azure.com/postgres" BASE_URL = "https://mfu07rkgnb7c.cybozu.com" diff --git a/backend/requirements.txt b/backend/requirements.txt index dce6dd7..d89e70f 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -20,4 +20,5 @@ pyjwt==1.7.1 pandas==2.0.3 openpyxl==3.1.2 deepdiff==6.3.1 -pymssql==2.2.7 \ No newline at end of file +pymssql==2.2.7 +psycopg2==2.9.8 \ No newline at end of file