refactor: consolidate db package and flatten structure

This commit is contained in:
2026-05-06 23:11:05 +02:00
parent 6c4642904f
commit 9cefb39d01
8 changed files with 31 additions and 28 deletions

View File

@@ -2,7 +2,7 @@
// versions:
// sqlc v1.31.1
package database
package db
import (
"database/sql"
@@ -43,9 +43,9 @@ type ContinueWatchingEntry struct {
AnimeID int64 `json:"anime_id"`
CurrentEpisode sql.NullInt64 `json:"current_episode"`
CurrentTimeSeconds float64 `json:"current_time_seconds"`
DurationSeconds sql.NullFloat64 `json:"duration_seconds"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
DurationSeconds sql.NullFloat64 `json:"duration_seconds"`
}
type JikanCache struct {