Dump changes
This commit is contained in:
parent
b49c6ced26
commit
a4b572dcc7
40 changed files with 186 additions and 37 deletions
|
|
@ -4,7 +4,7 @@ from sqlalchemy.orm import sessionmaker
|
|||
|
||||
from app.config import config
|
||||
|
||||
DATABASE_URL = f"postgresql://{config['CGNO_ID_DB_USERNAME']}:{config['CGNO_ID_DB_PASSWORD']}@{config['CGNO_ID_DB_HOST']}/{config['CGNO_ID_DB_NAME']}"
|
||||
DATABASE_URL = f"postgresql://{config['DB_USERNAME']}:{config['DB_PASSWORD']}@{config['DB_HOST']}/{config['DB_NAME']}"
|
||||
|
||||
engine = create_engine(DATABASE_URL)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue