quick fix for not null sql field

pull/679/head v0.90.52
hunterlong 2020-06-15 22:49:35 -07:00
parent feb20bfa4e
commit c3418e2473
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
# 0.90.52 (06-15-2020)
- Fixed NOT NULL sql field
# 0.90.51 (06-15-2020)
- Fix Theme Editor codemirror inputs to show on load
- Added favicon folder for local assets can be used without remote access

View File

@ -26,8 +26,8 @@ type Notification struct {
Enabled null.NullBool `gorm:"column:enabled;type:boolean;default:false" json:"enabled,omitempty"`
Limits int `gorm:"not null;column:limits" json:"limits"`
Removable bool `gorm:"column:removable" json:"removable"`
SuccessData string `gorm:"type:text;not null;column:success_data" json:"success_data,omitempty"`
FailureData string `gorm:"type:text;not null;column:failure_data" json:"failure_data,omitempty"`
SuccessData string `gorm:"type:text;column:success_data" json:"success_data,omitempty"`
FailureData string `gorm:"type:text;column:failure_data" json:"failure_data,omitempty"`
DataType string `gorm:"-" json:"data_type,omitempty"`
RequestInfo string `gorm:"-" json:"request_info,omitempty"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`

View File

@ -1 +1 @@
0.90.51
0.90.52