Changed config.py

Table and schema names can now be configured in .env file
This commit is contained in:
2025-09-05 19:35:03 +03:00
parent 6da6ace82f
commit c2dd26c5d3
2 changed files with 4 additions and 2 deletions

View File

@ -11,8 +11,8 @@ if config.enable_api_docs:
else:
docs_url = None
schema_name = 'harticle'
table_name = 'articles'
schema_name = config.schema_name
table_name = config.table_name
@asynccontextmanager