fix(deploy): pin bcrypt==4.3.0 for passlib compat, fix seed model imports, fix AppLayout TS blur handler

This commit is contained in:
kevin-asprec
2026-03-16 14:53:10 +08:00
parent 9ef8f1a421
commit 56ecdbead3
3 changed files with 8 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from sqlalchemy.ext.asyncio import create_async_engine, async_sessionmaker
from sqlalchemy import select
from app.database import Base
# Import all models so Base.metadata has the complete schema
from app.models import user, school, license, sms, billing, ticket, audit, announcement, email_log, report # noqa
from app.models.user import HubUser, UserRole
from app.auth.password import hash_password