update id
This commit is contained in:
@@ -10,6 +10,16 @@ BUCKET_NAME: str = os.getenv('BUCKET_NAME') # type: ignore
|
||||
EMAIL_SENDER = ('EDUSEG®', 'noreply@eduseg.com.br')
|
||||
PAPERFORGE_API = 'https://paperforge.saladeaula.digital'
|
||||
|
||||
|
||||
DBNAME: str = os.getenv('POSTGRES_DB') # type: ignore
|
||||
DBHOST: str = os.getenv('POSTGRES_HOST') # type: ignore
|
||||
DBPORT: str = os.getenv('POSTGRES_PORT') # type: ignore
|
||||
DBUSER: str = os.getenv('POSTGRES_USER') # type: ignore
|
||||
DBPASS: str = os.getenv('POSTGRES_PASSWORD') # type: ignore
|
||||
conninfo = f'dbname={DBNAME} user={DBUSER} password={DBPASS} \
|
||||
host={DBHOST} port={DBPORT}'
|
||||
|
||||
|
||||
# Post-migration: Remove the following lines
|
||||
if os.getenv('AWS_LAMBDA_FUNCTION_NAME'):
|
||||
SQLITE_DATABASE = 'courses_export_2025-06-18_110214.db'
|
||||
|
||||
Reference in New Issue
Block a user