Skip to content

Commit

Permalink
add the database uri
Browse files Browse the repository at this point in the history
  • Loading branch information
KariukiAntony committed Mar 25, 2024
1 parent 532fc79 commit b826c7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class DevelopmentConfig(BaseConfig):

@dataclass
class ProductionConfig(BaseConfig):
DATABASE_URI: str = os.environ.get("DATABASE_URL")
SQLALCHEMY_DATABASE_URI: str = os.environ.get("DATABASE_URL")
SQLALCHEMY_TRACK_MODIFICATION: bool = False
SQLALCHEMY_ECHO: bool = False


@dataclass
Expand Down

0 comments on commit b826c7b

Please sign in to comment.