fix(): Habilitado o versionamento de config/database/firebird.json
This commit is contained in:
parent
c765d8ec27
commit
20aa9c442b
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ class FirebirdSchemaExtractor:
|
|||
Classe responsável por extrair toda a estrutura de um banco Firebird 4.
|
||||
"""
|
||||
|
||||
def __init__(self, config_path: str = "config/database/firebird.conf"):
|
||||
def __init__(self, config_path: str = "config/database/firebird.json"):
|
||||
|
||||
"""
|
||||
Lê o arquivo de configuração e abre conexão com o banco.
|
||||
|
|
@ -19,7 +19,7 @@ class FirebirdSchemaExtractor:
|
|||
# Lê o JSON de configuração
|
||||
config_file = Path(config_path)
|
||||
if not config_file.exists():
|
||||
raise HTTPException(status_code=500, detail="Arquivo firebird.conf não encontrado")
|
||||
raise HTTPException(status_code=500, detail="Arquivo firebird.json não encontrado")
|
||||
|
||||
with open(config_file, "r", encoding="utf-8") as f:
|
||||
config = json.load(f)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue