Phase 2 Complete: SQL migration with SQLModel and Alembic
This commit is contained in:
@@ -63,3 +63,9 @@ class AnimeSearchResult(BaseModel):
|
||||
cover_image: Optional[str] = None
|
||||
type: str # "search_result" or "direct"
|
||||
metadata: Optional[AnimeMetadata] = None
|
||||
|
||||
# Import all SQLModel tables here to ensure they are registered together
|
||||
from .auth import UserTable
|
||||
from .watchlist import WatchlistItemTable, WatchlistSettingsTable
|
||||
from .favorites import FavoriteTable
|
||||
from .sonarr import SonarrMappingTable, SonarrConfigTable
|
||||
|
||||
Reference in New Issue
Block a user