v1_22

package
v1.22.0-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Copyright 2023 The Gitea Authors. All rights reserved. SPDX-License-Identifier: MIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCombinedIndexToIssueUser

func AddCombinedIndexToIssueUser(x *xorm.Engine) error

func AddCommentIDIndexofAttachment

func AddCommentIDIndexofAttachment(x *xorm.Engine) error

func AddDefaultWikiBranch

func AddDefaultWikiBranch(x *xorm.Engine) error

func AddIgnoreStaleApprovalsColumnToProtectedBranchTable

func AddIgnoreStaleApprovalsColumnToProtectedBranchTable(x *xorm.Engine) error

func AddIndexToPullAutoMergeDoerID

func AddIndexToPullAutoMergeDoerID(x *xorm.Engine) error

func AddPayloadVersionToHookTaskTable

func AddPayloadVersionToHookTaskTable(x *xorm.Engine) error

func AddPreviousDurationToActionRun

func AddPreviousDurationToActionRun(x *xorm.Engine) error

func AddUserBlockingTable

func AddUserBlockingTable(x *xorm.Engine) error

func AdjustDBForSha256

func AdjustDBForSha256(x *xorm.Engine) error

func CheckProjectColumnsConsistency

func CheckProjectColumnsConsistency(x *xorm.Engine) error

CheckProjectColumnsConsistency ensures there is exactly one default board per project present

func CreateAuthTokenTable

func CreateAuthTokenTable(x *xorm.Engine) error

func RenameUserThemes

func RenameUserThemes(x *xorm.Engine) error

func UseSlugInsteadOfIDForBadges

func UseSlugInsteadOfIDForBadges(x *xorm.Engine) error

Types

type BadgeUnique

type BadgeUnique struct {
	ID   int64  `xorm:"pk autoincr"`
	Slug string `xorm:"UNIQUE"`
}

func (BadgeUnique) TableName

func (BadgeUnique) TableName() string

type Blocking

type Blocking struct {
	ID          int64 `xorm:"pk autoincr"`
	BlockerID   int64 `xorm:"UNIQUE(block)"`
	BlockeeID   int64 `xorm:"UNIQUE(block)"`
	Note        string
	CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
}

func (*Blocking) TableName

func (*Blocking) TableName() string

type HookTask

type HookTask struct {
	PayloadVersion int `xorm:"DEFAULT 1"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL