added docs and fields
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user