chore: trt to fix restore bool val #70
This commit is contained in:
@@ -10,7 +10,7 @@ type NotifyWay struct {
|
||||
Name string `json:"name" gorm:"size:100;not null"`
|
||||
Type string `json:"type" gorm:"size:50;not null;index"`
|
||||
Config BigText `json:"config"`
|
||||
Enabled bool `json:"enabled" gorm:"default:true;index"`
|
||||
Enabled *bool `json:"enabled" gorm:"default:true;index"`
|
||||
CreatedAt LocalTime `json:"created_at"`
|
||||
UpdatedAt LocalTime `json:"updated_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user