Set true as default value for option 'UpdateNoify'

Since the 'Send only notifications on Service Status change' Feature is
a nice thing it can be enabled by default, so it does not annoy with a
huge amounth of down Messages.

This is realted to Issue #301

Signed-off-by: Emanuel Bennici <benniciemanuel78@gmail.com>
pull/308/head
Emanuel Bennici 2019-11-29 00:02:57 +01:00
parent c1f4ee865a
commit c920456b9f
No known key found for this signature in database
GPG Key ID: 17FA2D56BAD01661
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ type Core struct {
Version string `gorm:"column:version" json:"version"`
MigrationId int64 `gorm:"column:migration_id" json:"migration_id,omitempty"`
UseCdn NullBool `gorm:"column:use_cdn;default:false" json:"using_cdn,omitempty"`
UpdateNotify NullBool `gorm:"column:update_notify;default:false" json:"update_notify,omitempty"`
UpdateNotify NullBool `gorm:"column:update_notify;default:true" json:"update_notify,omitempty"`
Timezone float32 `gorm:"column:timezone;default:-8.0" json:"timezone,omitempty"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`