Files
Gitea/modelmigration/v1_9/v86.go
T
2026-08-03 08:13:15 +00:00

19 lines
355 B
Go

// Copyright 2019 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package v1_9
import (
"context"
"gitea.dev/modelmigration/base"
)
func AddHTTPMethodToWebhook(_ context.Context, x base.EngineMigration) error {
type Webhook struct {
HTTPMethod string `xorm:"http_method DEFAULT 'POST'"`
}
return x.Sync(new(Webhook))
}