refaktorálás javításai

This commit is contained in:
Roo
2026-03-13 10:22:41 +00:00
parent 2d8d23f469
commit f53e0b53df
140 changed files with 7316 additions and 4579 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())