Просмотр исходного кода

Merge branch '0.8.0-more-slack-options' into dev

mergin
Alexander Belanger 4 лет назад
Родитель
Сommit
0f1bcbfc43
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      internal/models/notification.go

+ 3 - 3
internal/models/notification.go

@@ -5,10 +5,10 @@ import "gorm.io/gorm"
 type NotificationConfig struct {
 	gorm.Model
 
-	Enabled bool `gorm:"default:true"` // if notifications are enabled at all
+	Enabled bool // if notifications are enabled at all
 
-	Success bool `gorm:"default:true"`
-	Failure bool `gorm:"default:true"`
+	Success bool
+	Failure bool
 }
 
 type NotificationConfigExternal struct {