diff --git a/pkg/database/migrations/007_additional_tag_types.sql b/pkg/database/migrations/007_additional_tag_types.sql new file mode 100644 index 0000000..088af3a --- /dev/null +++ b/pkg/database/migrations/007_additional_tag_types.sql @@ -0,0 +1,4 @@ +-- +migrate Up + +INSERT INTO tag_types (name) VALUES ('Contributor'); +INSERT INTO tag_types (name) VALUES ('Unknown'); diff --git a/pkg/models/const.go b/pkg/models/const.go index abf13d9..18d5df9 100644 --- a/pkg/models/const.go +++ b/pkg/models/const.go @@ -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 (