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.

12345678910111213141516
  1. // Copyright 2024 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package v1_23 //nolint
  4. import "xorm.io/xorm"
  5. func AddCommitStatusSummary2(x *xorm.Engine) error {
  6. type CommitStatusSummary struct {
  7. ID int64 `xorm:"pk autoincr"`
  8. TargetURL string `xorm:"TEXT"`
  9. }
  10. // there is no migrations because if there is no data on this table, it will fall back to get data
  11. // from commit status
  12. return x.Sync(new(CommitStatusSummary))
  13. }