We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e089b2 commit 3aa4b08Copy full SHA for 3aa4b08
services/core/db/models/inventory-models.go
@@ -38,8 +38,8 @@ type NamedQuery struct {
38
Tags []NamedQueryTag `gorm:"foreignKey:NamedQueryID;references:ID;constraint:OnUpdate:CASCADE,OnDelete:CASCADE;"`
39
CacheEnabled bool
40
// default is system
41
- Owner string `gorm:"type:text:default:system"`
42
- Visibility string `gorm:"type:text:default:public"`
+ Owner string `gorm:"type:text;default:system"`
+ Visibility string `gorm:"type:text;default:public"`
43
}
44
45
type NamedQueryHistory struct {
0 commit comments