Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b1488e347 |
@@ -7,5 +7,5 @@ type Workspace struct {
|
|||||||
Name string `gorm:"column:name" json:"name"`
|
Name string `gorm:"column:name" json:"name"`
|
||||||
Description string `gorm:"type:json" json:"description"`
|
Description string `gorm:"type:json" json:"description"`
|
||||||
Uuid *uuid.UUID `gorm:"type:text" json:"uuid,omitempty"`
|
Uuid *uuid.UUID `gorm:"type:text" json:"uuid,omitempty"`
|
||||||
Users []*User `gorm:"many2many:users_workspaces;" `
|
Users []*User `gorm:"many2many:users_workspaces;" json:"-"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user