Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

v192.go 408B

123456789101112131415161718
  1. // Copyright 2021 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package migrations
  5. import (
  6. "xorm.io/xorm"
  7. )
  8. func recreateIssueResourceIndexTable(x *xorm.Engine) error {
  9. type IssueIndex struct {
  10. GroupID int64 `xorm:"pk"`
  11. MaxIndex int64 `xorm:"index"`
  12. }
  13. return RecreateTables(new(IssueIndex))(x)
  14. }