ForcePilot/server/models/__init__.py

8 lines
226 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
# 导入所有模型文件确保它们被注册到Base.metadata
from . import user_model
from . import kb_models
from . import thread_model