Files
upstream-traggo/model/tagdefinition.go
upstream-mirror cda7c1a474
Some checks failed
build / build (push) Failing after 3s
snapshot of https://github.com/traggo/server.git (master, 2026-09-16; blobs > 131072B omitted)
2026-09-16 05:24:45 +05:00

10 lines
201 B
Go

package model
// TagDefinition describes a tag.
type TagDefinition struct {
Key string
UserID int `gorm:"type:int REFERENCES users(id) ON DELETE CASCADE"`
Color string
Usages int `gorm:"-"`
}