forked from cardosofelipe/fast-next-template
18 lines
555 B
Python
18 lines
555 B
Python
"""
|
|
Models package initialization.
|
|
Imports all models to ensure they're registered with SQLAlchemy.
|
|
"""
|
|
# First import Base to avoid circular imports
|
|
from app.core.database import Base
|
|
from .base import TimestampMixin, UUIDMixin
|
|
from .organization import Organization
|
|
# Import models
|
|
from .user import User
|
|
from .user_organization import UserOrganization, OrganizationRole
|
|
from .user_session import UserSession
|
|
|
|
__all__ = [
|
|
'Base', 'TimestampMixin', 'UUIDMixin',
|
|
'User', 'UserSession',
|
|
'Organization', 'UserOrganization', 'OrganizationRole',
|
|
] |