feat: Add new tag types #22
4
pkg/database/migrations/007_additional_tag_types.sql
Normal file
4
pkg/database/migrations/007_additional_tag_types.sql
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-- +migrate Up
|
||||||
|
|
||||||
|
ALTER TYPE TagType ADD VALUE 'Contributor';
|
||||||
|
ALTER TYPE TagType ADD VALUE 'Unknown';
|
@ -44,14 +44,16 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
General TagType = "general"
|
General TagType = "general"
|
||||||
Species TagType = "species"
|
Species TagType = "species"
|
||||||
Character TagType = "character"
|
Character TagType = "character"
|
||||||
Artist TagType = "artist"
|
Artist TagType = "artist"
|
||||||
Lore TagType = "lore"
|
Lore TagType = "lore"
|
||||||
Meta TagType = "meta"
|
Meta TagType = "meta"
|
||||||
Invalid TagType = "invalid"
|
Invalid TagType = "invalid"
|
||||||
Copyright TagType = "copyright"
|
Copyright TagType = "copyright"
|
||||||
|
Contributor TagType = "Contributor"
|
||||||
|
UnknownTagType TagType = "Unknown"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user