Spaces:
Running
Running
Ahmed Mostafa commited on
Commit ·
745c70b
1
Parent(s): b002853
Revert "minor change"
Browse filesThis reverts commit b0028534474d6b0f041836264658994c15747b85.
- src/utils/config.py +6 -0
src/utils/config.py
CHANGED
|
@@ -62,6 +62,12 @@ class Settings(BaseSettings):
|
|
| 62 |
description="FastAPI port number (Hugging Face default)"
|
| 63 |
)
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
# Firebase Configuration
|
| 66 |
firebase_project_id: str = Field(
|
| 67 |
default="aidea-project-id",
|
|
|
|
| 62 |
description="FastAPI port number (Hugging Face default)"
|
| 63 |
)
|
| 64 |
|
| 65 |
+
# Database Configuration (PostgreSQL - Deprecated in favor of Firebase)
|
| 66 |
+
database_url: str = Field(
|
| 67 |
+
default="postgresql+asyncpg://postgres:password@localhost:5432/studynotes",
|
| 68 |
+
description="PostgreSQL database connection URL (Deprecated)"
|
| 69 |
+
)
|
| 70 |
+
|
| 71 |
# Firebase Configuration
|
| 72 |
firebase_project_id: str = Field(
|
| 73 |
default="aidea-project-id",
|