fix gofmt, add test, correct noted concerns with default value
This commit is contained in:
@@ -72,7 +72,7 @@ func addAlertMigrations(mg *Migrator) {
|
||||
Name: "send_reminder", Type: DB_Bool, Nullable: true, Default: "0",
|
||||
}))
|
||||
mg.AddMigration("Add column disable_resolved_message", NewAddColumnMigration(alert_notification, &Column{
|
||||
Name: "disable_resolved_message", Type: DB_Bool, Nullable: false, Default: "1",
|
||||
Name: "disable_resolved_message", Type: DB_Bool, Nullable: false, Default: "0",
|
||||
}))
|
||||
|
||||
mg.AddMigration("add index alert_notification org_id & name", NewAddIndexMigration(alert_notification, alert_notification.Indices[0]))
|
||||
|
||||
Reference in New Issue
Block a user