v1_18

package
v1.21.7 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConfidentialClientColumnToOAuth2ApplicationTable

func AddConfidentialClientColumnToOAuth2ApplicationTable(x *xorm.Engine) error

AddConfidentialColumnToOAuth2ApplicationTable: add ConfidentialClient column, setting existing rows to true

func AddTeamInviteTable

func AddTeamInviteTable(x *xorm.Engine) error

func AlterPublicGPGKeyContentFieldsToMediumText

func AlterPublicGPGKeyContentFieldsToMediumText(x *xorm.Engine) error

func CreateSystemSettingsTable

func CreateSystemSettingsTable(x *xorm.Engine) error

func CreateUserBadgesTable

func CreateUserBadgesTable(x *xorm.Engine) error

func FixPackageSemverField

func FixPackageSemverField(x *xorm.Engine) error

func UpdateOpenMilestoneCounts

func UpdateOpenMilestoneCounts(x *xorm.Engine) error

Types

type SystemSetting

type SystemSetting struct {
	ID           int64              `xorm:"pk autoincr"`
	SettingKey   string             `xorm:"varchar(255) unique"` // ensure key is always lowercase
	SettingValue string             `xorm:"text"`
	Version      int                `xorm:"version"` // prevent to override
	Created      timeutil.TimeStamp `xorm:"created"`
	Updated      timeutil.TimeStamp `xorm:"updated"`
}

Jump to

Keyboard shortcuts

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