mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-08-07 01:03:34 +02:00
Add server-side read management
This commit is contained in:
@@ -77,6 +77,10 @@ class Database:
|
||||
await self._connection.commit()
|
||||
logger.debug("Database schema initialized")
|
||||
|
||||
# Run any pending migrations
|
||||
from app.migrations import run_migrations
|
||||
await run_migrations(self._connection)
|
||||
|
||||
async def disconnect(self) -> None:
|
||||
if self._connection:
|
||||
await self._connection.close()
|
||||
|
||||
Reference in New Issue
Block a user