# 兼容垫片:由 core/database.py 迁移,保留旧导入路径 from core.database import ( engine, SessionLocal, _db_ctx, get_db_session, commit_independently, Base, )