added docs and fields

This commit is contained in:
Yannick Stephan
2025-02-20 13:09:33 +01:00
parent 4b478d1c0f
commit 32d0f1acb0
2 changed files with 36 additions and 12 deletions

View File

@@ -54,9 +54,7 @@ class PostgreSQLDB:
self.pool: Pool | None = None
if self.user is None or self.password is None or self.database is None:
raise ValueError(
"Missing database user, password, or database"
)
raise ValueError("Missing database user, password, or database")
async def initdb(self):
try: