aboutsummaryrefslogtreecommitdiff
path: root/database/migrate.go
AgeCommit message (Collapse)AuthorFilesLines
2026-02-25Refactor anime update logic and task managementBobby1-8/+1
- Simplified title retrieval in AnimeUpdate and updateAnime functions. - Updated next airing checks to use new fields directly. - Removed unnecessary nil checks for titles in various functions. - Enhanced task management by eliminating redundant LastRun updates. - Improved dependency handling in triggerDependentTasks for better clarity and performance. - Streamlined Jikan API response structure by merging related fields. - Added StopRateLimiters function to rate limiter utilities for better control. - Refined episode title handling in TMDB and TVDB enrichment functions. - Introduced Stop method in MultiLimiter for graceful shutdown of rate limiters.
2026-02-24feat: Enhance person handling and synchronization logicBobby1-18/+4
- Introduced new Person entity with detailed attributes - Updated repositories and controllers to support person data retrieval - Implemented PersonSync task for background enrichment of person data - Refactored existing character and voice actor logic to utilize Person entity - Added Jikan API integration for fetching person details
2026-02-24feat: Refactor anime and character handlingBobby1-0/+1
- Removed old GetAnimeEpisodes and GetAnimeEpisodesByMALID functions, replaced with a new implementation in episodes.go. - Added GetAnimeCharacters and GetAnimeCharacter functions to handle character retrieval. - Introduced CharacterAnimeAppearance entity to track character appearances in anime. - Updated repositories to manage character data and enrich character details. - Implemented enriched_at timestamp for both anime and characters to track data updates. - Added CharacterSync task to periodically enrich character data from the Jikan API. - Updated router to include new character-related endpoints.
2026-02-24Refactor entities and repositories: add AnimeCharacter and ↵Bobby1-0/+2
CharacterVoiceActor types, update character handling in anime, and enhance producer enrichment logic
2026-02-09Refactor AnimeUpdate worker logging and enhance API request for skip timesBobby1-0/+1
- Updated worker logging in AnimeUpdate to display worker ID starting from 1 instead of 0. - Modified the API request in GetSkipTimesForEpisode to include episodeLength=0 in the query parameters for better handling of skip times. - Added a new BaseModel struct in entities package to standardize model definitions with hidden ID and timestamp fields for JSON responses.
2026-02-04Refactor database initialization and migration: update driver handling and ↵Bobby1-41/+39
streamline migration process
2026-01-15Add episode streaming functionality and cachingBobby1-0/+4
2025-08-25Updated Database Sync for AnimePriyansh1-20/+20
2025-08-25updated routes, added episode ids to each episodePriyansh1-7/+7
2025-05-09fixed anime updaterBobby1-1/+2
2025-05-09added anime cacheBobby1-0/+27
2025-05-09refactored typesBobby1-5/+4
2025-04-06syncing anime lists via fribb mappingsBobby1-0/+27