This commit is contained in:
Матвей
2026-10-20 15:13:41 +03:00
parent ec540a1a72
commit 3b52b91fb7
27 changed files with 1916 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
import asyncio
from .config import load_settings
from .storage.postgres import PostgresStore
async def run() -> None:
settings = load_settings()
store = PostgresStore(settings.database_url)
await store.connect()
try:
await store.migrate()
finally:
await store.close()
if __name__ == "__main__":
asyncio.run(run())