fixed syntax of Widget struct

This commit is contained in:
Sonja Happ 2019-04-04 08:33:02 +02:00
parent 91f52a409b
commit b5e070b2b1

View file

@ -95,9 +95,9 @@ type Widget struct {
Height uint `gorm:"not null"` Height uint `gorm:"not null"`
MinWidth uint `gorm:"not null"` MinWidth uint `gorm:"not null"`
MinHeight uint `gorm:"not null"` MinHeight uint `gorm:"not null"`
x int `gorm:"not null"` X int `gorm:"not null"`
y int `gorm:"not null"` Y int `gorm:"not null"`
z int `gorm:"not null"` Z int `gorm:"not null"`
isLocked bool `gorm:"default:false"` IsLocked bool `gorm:"default:false"`
customProperties postgres.Jsonb //TODO: default value? CustomProperties postgres.Jsonb //TODO: default value?
} }