feat: Add new tag types
Some checks failed
Gitea Build Check / Build (pull_request) Failing after 51s
Some checks failed
Gitea Build Check / Build (pull_request) Failing after 51s
- Contributor - Unknown
This commit is contained in:
parent
da76e6215d
commit
b5135f795a
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
|
||||||
|
|
||||||
|
INSERT INTO tag_types (name) VALUES ('Contributor');
|
||||||
|
INSERT INTO tag_types (name) VALUES ('Unknown');
|
@ -52,6 +52,8 @@ const (
|
|||||||
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…
Reference in New Issue
Block a user