feat: models

This commit is contained in:
Senko-san
2026-06-07 14:50:35 +03:00
parent 87b48e941e
commit dfd512a13f
11 changed files with 732 additions and 1 deletions
+21 -1
View File
@@ -5,6 +5,26 @@ 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__ = ["RefreshTokenModel", "UserModel"]
__all__ = [
"AlbumModel",
"ArtistModel",
"DownloadJobModel",
"LikeModel",
"LyricsModel",
"PlayHistoryModel",
"PlaylistModel",
"PlaylistTrackModel",
"RefreshTokenModel",
"TrackModel",
"UserModel",
]