Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

v237.go 462B

123456789101112131415
  1. // Copyright 2022 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package v1_19 //nolint
  4. import (
  5. "xorm.io/xorm"
  6. )
  7. func DropForeignReferenceTable(x *xorm.Engine) error {
  8. // Drop the table introduced in `v211`, it's considered badly designed and doesn't look like to be used.
  9. // See: https://github.com/go-gitea/gitea/issues/21086#issuecomment-1318217453
  10. type ForeignReference struct{}
  11. return x.DropTables(new(ForeignReference))
  12. }