From c3418e2473b0eacf04da30fc0ed773b27ccbea8a Mon Sep 17 00:00:00 2001 From: hunterlong Date: Mon, 15 Jun 2020 22:49:35 -0700 Subject: [PATCH] quick fix for not null sql field --- CHANGELOG.md | 3 +++ types/notifications/struct.go | 4 ++-- version.txt | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0127ded..15bec70b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/types/notifications/struct.go b/types/notifications/struct.go index 7426e67c..30356165 100644 --- a/types/notifications/struct.go +++ b/types/notifications/struct.go @@ -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"` diff --git a/version.txt b/version.txt index dbfd2f3b..8efa41e1 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.90.51 +0.90.52