feat: add database debug env var (#2333)

* feat: add database debug env var
makes it visible what db actions happen
This commit is contained in:
dni ⚡
2024-03-21 09:59:17 +01:00
committed by GitHub
parent e4d3faefa0
commit 17839f6a25
4 changed files with 11 additions and 1 deletions
+1
View File
@@ -358,6 +358,7 @@ class UpdateSettings(EditableSettings):
class EnvSettings(LNbitsSettings):
debug: bool = Field(default=False)
debug_database: bool = Field(default=False)
bundle_assets: bool = Field(default=True)
host: str = Field(default="127.0.0.1")
port: int = Field(default=5000)