chore: Backend codebase cleanup and archiving of legacy scripts

This commit is contained in:
Roo
2026-03-22 20:07:37 +00:00
parent 5d96b00f81
commit 309a72cc0b
19 changed files with 530 additions and 184 deletions

View File

@@ -0,0 +1,12 @@
import asyncio
from app.database import engine, Base
import app.models # Összes modell betöltése
async def force_sync():
async with engine.begin() as conn:
# Ez a parancs az 58 modell alapján MINDENT létrehoz
await conn.run_sync(Base.metadata.create_all)
print("✅ Minden tábla sikeresen létrehozva a sémákban!")
if __name__ == "__main__":
asyncio.run(force_sync())