Chore: Upgraded from psycopg2 to psycopg3

This will also change the connection strings.
Chore: Removed usage of deprecated datetime.datetime.utcnow()
This commit is contained in:
2024-04-30 11:27:01 +05:30
parent 4d9996353c
commit 43cb697737
18 changed files with 40 additions and 45 deletions

View File

@ -3,7 +3,7 @@ HOST=0.0.0.0
PORT=80
LOG_LEVEL=WARN
DEBUG=false
SQLALCHEMY_DATABASE_URI=postgresql://postgres:123456@db:5432/brewman_{{ name }}
SQLALCHEMY_DATABASE_URI=postgresql+psycopg://postgres:123456@db:5432/brewman_{{ name }}
MODULE_NAME=brewman.main
PROJECT_NAME=brewman
SECRET_KEY={{ secret_key }}