dynamic database

This commit is contained in:
2024-10-07 22:58:17 -04:00
parent d91460fa82
commit d0641950f9
20 changed files with 2 additions and 98 deletions

View File

@@ -10,7 +10,7 @@ class ApplicationConfig:
POSTGRES_USERNAME = 'postgres'
POSTGRES_PW = 'password'
POSTGRES_SERVER = '192.168.1.204:5432'
POSTGRES_DBNAME00 = 'eamco'
POSTGRES_DBNAME00 = 'auburnoil'
SQLALCHEMY_DATABASE_URI = "postgresql+psycopg2://{}:{}@{}/{}".format(POSTGRES_USERNAME,
POSTGRES_PW,
POSTGRES_SERVER,