You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

v282.go 309B

12345678910111213141516
  1. // Copyright 2023 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package v1_22 //nolint
  4. import (
  5. "xorm.io/xorm"
  6. )
  7. func AddIndexToPullAutoMergeDoerID(x *xorm.Engine) error {
  8. type PullAutoMerge struct {
  9. DoerID int64 `xorm:"INDEX NOT NULL"`
  10. }
  11. return x.Sync(&PullAutoMerge{})
  12. }