Compare commits

...

2 Commits

Author SHA1 Message Date
746ca0c5f0 fix: Update tag type addition method in SQL migration file
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 2m49s
Gitea Build Check / Build (push) Successful in 2m50s
Signed-off-by: SoXX <soxx@anthrove.art>
2024-12-28 22:25:32 +01:00
b5135f795a feat: Add new tag types
Some checks failed
Gitea Build Check / Build (pull_request) Failing after 51s
- Contributor
- Unknown
2024-12-28 22:06:47 +01:00
2 changed files with 14 additions and 8 deletions

View File

@ -0,0 +1,4 @@
-- +migrate Up
ALTER TYPE TagType ADD VALUE 'Contributor';
ALTER TYPE TagType ADD VALUE 'Unknown';

View File

@ -44,14 +44,16 @@ const (
)
const (
General TagType = "general"
Species TagType = "species"
Character TagType = "character"
Artist TagType = "artist"
Lore TagType = "lore"
Meta TagType = "meta"
Invalid TagType = "invalid"
Copyright TagType = "copyright"
General TagType = "general"
Species TagType = "species"
Character TagType = "character"
Artist TagType = "artist"
Lore TagType = "lore"
Meta TagType = "meta"
Invalid TagType = "invalid"
Copyright TagType = "copyright"
Contributor TagType = "Contributor"
UnknownTagType TagType = "Unknown"
)
const (