mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
feat: ability to filter by project labels
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
package models
|
||||
|
||||
// ProjectLabelReverseResolver returns all projects for a given label
|
||||
type ProjectLabelReverseResolver func(l string) []string
|
||||
|
||||
type ProjectLabel struct {
|
||||
ID uint `json:"id" gorm:"primary_key"`
|
||||
User *User `json:"-" gorm:"not null; constraint:OnUpdate:CASCADE,OnDelete:CASCADE"`
|
||||
|
Reference in New Issue
Block a user