aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-02-09 16:29:13 +0530
committerBobby <[email protected]>2026-02-09 16:29:13 +0530
commitcd9184421327da59c00d0766452e6082055947f2 (patch)
tree98e618eb029e947d276d367e9b6d96aaa1865a57 /database
parentf382cfae8f0fd2facc7115d1f82dd27ceb1a8258 (diff)
downloadmetachan-cd9184421327da59c00d0766452e6082055947f2.tar.xz
metachan-cd9184421327da59c00d0766452e6082055947f2.zip
Refactor AnimeUpdate worker logging and enhance API request for skip times
- 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.
Diffstat (limited to 'database')
-rw-r--r--database/migrate.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/migrate.go b/database/migrate.go
index 9dad67f..44a462c 100644
--- a/database/migrate.go
+++ b/database/migrate.go
@@ -37,6 +37,7 @@ func migrate() {
// Episode entities
&entities.Episode{},
+ &entities.EpisodeSkipTime{},
&entities.StreamingSource{},
&entities.EpisodeSchedule{},
&entities.NextEpisode{},