photoprism/tag.go
2018-08-03 15:17:13 +02:00

10 lines
144 B
Go

package photoprism
import (
"github.com/jinzhu/gorm"
)
type Tag struct {
gorm.Model
Label string `gorm:"type:varchar(100);unique_index"`
}