Ivan Galakhov пре 4 година
родитељ
комит
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 {