refactor: remove user management tables and unused account/notification_preference tables

This commit is contained in:
2026-04-25 21:14:39 +02:00
parent 4285c6239c
commit 21da18831d
6 changed files with 6 additions and 111 deletions

View File

@@ -1,6 +1,6 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.30.0
// sqlc v1.31.1
package database
@@ -9,14 +9,6 @@ import (
"time"
)
type Account struct {
ID string `json:"id"`
UserID string `json:"user_id"`
Provider string `json:"provider"`
ProviderAccountID string `json:"provider_account_id"`
CreatedAt time.Time `json:"created_at"`
}
type Anime struct {
ID int64 `json:"id"`
TitleOriginal string `json:"title_original"`
@@ -61,13 +53,6 @@ type JikanCache struct {
CreatedAt time.Time `json:"created_at"`
}
type NotificationPreference struct {
ID string `json:"id"`
UserID string `json:"user_id"`
NotifyNewEpisodes bool `json:"notify_new_episodes"`
CreatedAt time.Time `json:"created_at"`
}
type Session struct {
ID string `json:"id"`
UserID string `json:"user_id"`