From 39c3799d82d77a1c4c869c428816ebd7b0111900 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 13 Oct 2024 12:36:51 +0800 Subject: [PATCH] :recycle: Single table to store auth preferences --- .idea/workspace.xml | 12 ++++++----- pkg/internal/database/migrator.go | 1 + pkg/internal/models/accounts.go | 17 +++++++-------- pkg/internal/models/preferences.go | 8 +++++++ pkg/internal/server/api/index.go | 4 ++-- pkg/internal/server/api/preferences_api.go | 24 ++++++++++----------- pkg/internal/services/preferences.go | 25 ++++++++++++++++++++++ pkg/internal/services/ticket.go | 11 +++++----- 8 files changed, 69 insertions(+), 33 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 11ae1da..50a5096 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,12 +4,14 @@