feat: add expired failed mapping cleanup query

This commit is contained in:
2026-06-21 17:18:05 +02:00
committed by Milas Holsting
parent 86d0c2b5c0
commit a9a00dbf3b
3 changed files with 17 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ type Querier interface {
CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error)
DeleteAnimeFetchRetry(ctx context.Context, animeID int64) error
DeleteContinueWatchingEntry(ctx context.Context, arg DeleteContinueWatchingEntryParams) error
DeleteExpiredFailedEpisodeProviderMappings(ctx context.Context) error
DeleteExpiredJikanCache(ctx context.Context) error
DeleteSession(ctx context.Context, id string) error
DeleteWatchListEntry(ctx context.Context, arg DeleteWatchListEntryParams) error