Ivan Galakhov 5 年之前
父節點
當前提交
d6e8c6355a
共有 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 {