snapshot of https://github.com/traggo/server.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
build / build (push) Failing after 3s
Some checks failed
build / build (push) Failing after 3s
This commit is contained in:
9
model/tagdefinition.go
Normal file
9
model/tagdefinition.go
Normal file
@@ -0,0 +1,9 @@
|
||||
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:"-"`
|
||||
}
|
||||
Reference in New Issue
Block a user