Ivan Galakhov 4 anos atrás
pai
commit
d6e8c6355a
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      internal/models/notification.go

+ 3 - 3
internal/models/notification.go

@@ -5,10 +5,10 @@ import "gorm.io/gorm"
 type NotificationConfig struct {
 type NotificationConfig struct {
 	gorm.Model
 	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 {
 type NotificationConfigExternal struct {