Revert "asyncmy → aiomysql 변경"
This reverts commit 90c914343f.
parent
90c914343f
commit
561d98975a
|
|
@ -52,5 +52,4 @@ Dockerfile
|
|||
.dockerignore
|
||||
|
||||
zzz/
|
||||
credentials/service_account.json
|
||||
o2o-castad-scheduler/
|
||||
credentials/service_account.json
|
||||
|
|
@ -107,8 +107,8 @@ class DatabaseSettings(BaseSettings):
|
|||
|
||||
@property
|
||||
def MYSQL_URL(self) -> str:
|
||||
"""비동기 MySQL URL 생성 (aiomysql 드라이버 사용, SQLAlchemy 통합 최적화)"""
|
||||
return f"mysql+aiomysql://{self.MYSQL_USER}:{self.MYSQL_PASSWORD}@{self.MYSQL_HOST}:{self.MYSQL_PORT}/{self.MYSQL_DB}"
|
||||
"""비동기 MySQL URL 생성 (asyncmy 드라이버 사용, SQLAlchemy 통합 최적화)"""
|
||||
return f"mysql+asyncmy://{self.MYSQL_USER}:{self.MYSQL_PASSWORD}@{self.MYSQL_HOST}:{self.MYSQL_PORT}/{self.MYSQL_DB}"
|
||||
|
||||
def REDIS_URL(self, db: int = 0) -> str:
|
||||
"""Redis URL 생성 (db 인수로 기본값 지원)"""
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 9f17786920f1a2a6a508d4e9c62a162831fc495b
|
||||
Subproject commit 97379bebd470d0336f0e74c7eb2e1a0842dc0c49
|
||||
Loading…
Reference in New Issue