"""ORM models package.

Importing this package registers every model on ``Base.metadata`` so Alembic
autogenerate and ``create_all`` (tests) see the full schema. ``alembic/env.py``
imports it for exactly this side effect.
"""

from app.infrastructure.db.models.album import AlbumModel
from app.infrastructure.db.models.artist import ArtistModel
from app.infrastructure.db.models.download_job import DownloadJobModel
from app.infrastructure.db.models.like import LikeModel
from app.infrastructure.db.models.lyrics import LyricsModel
from app.infrastructure.db.models.play_history import PlayHistoryModel
from app.infrastructure.db.models.playlist import PlaylistModel, PlaylistTrackModel
from app.infrastructure.db.models.track import TrackModel
from app.infrastructure.db.models.user import RefreshTokenModel, UserModel

__all__ = [
    "AlbumModel",
    "ArtistModel",
    "DownloadJobModel",
    "LikeModel",
    "LyricsModel",
    "PlayHistoryModel",
    "PlaylistModel",
    "PlaylistTrackModel",
    "RefreshTokenModel",
    "TrackModel",
    "UserModel",
]
