v1_20

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddActionTaskOutputTable

func AddActionTaskOutputTable(x *xorm.Engine) error

func AddArchivedUnixToRepository

func AddArchivedUnixToRepository(x *xorm.Engine) error

func AddIsInternalColumnToPackage

func AddIsInternalColumnToPackage(x *xorm.Engine) error

func AddNeedApprovalToActionRun

func AddNeedApprovalToActionRun(x *xorm.Engine) error

func AddNewColumnForProject

func AddNewColumnForProject(x *xorm.Engine) error

func AddVersionToActionRunner

func AddVersionToActionRunner(x *xorm.Engine) error

func ChangeContainerMetadataMultiArch

func ChangeContainerMetadataMultiArch(x *xorm.Engine) error

func CreateActionArtifactTable

func CreateActionArtifactTable(x *xorm.Engine) error

func FixExternalTrackerAndExternalWikiAccessModeInOwnerAndAdminTeam

func FixExternalTrackerAndExternalWikiAccessModeInOwnerAndAdminTeam(x *xorm.Engine) error

func FixIncorrectAdminTeamUnitAccessMode

func FixIncorrectAdminTeamUnitAccessMode(x *xorm.Engine) error

func FixIncorrectOwnerTeamUnitAccessMode

func FixIncorrectOwnerTeamUnitAccessMode(x *xorm.Engine) error

func FixIncorrectProjectType

func FixIncorrectProjectType(x *xorm.Engine) error

FixIncorrectProjectType: set individual project's type from 3(TypeOrganization) to 1(TypeIndividual)

func ImproveActionTableIndices

func ImproveActionTableIndices(x *xorm.Engine) error

func RenameWebhookOrgToOwner

func RenameWebhookOrgToOwner(x *xorm.Engine) error

Types

type Action

type Action struct {
	UserID      int64 // Receiver user id.
	ActUserID   int64 // Action user id.
	RepoID      int64
	IsDeleted   bool               `xorm:"NOT NULL DEFAULT false"`
	IsPrivate   bool               `xorm:"NOT NULL DEFAULT false"`
	CreatedUnix timeutil.TimeStamp `xorm:"created"`
}

func (*Action) TableIndices

func (a *Action) TableIndices() []*schemas.Index

TableIndices implements xorm's TableIndices interface

func (*Action) TableName

func (a *Action) TableName() string

TableName sets the name of this table

Jump to

Keyboard shortcuts

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