v1_26

package
v1.26.13 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddActionsConcurrency

func AddActionsConcurrency(x db.EngineMigration) error

func AddDisabledToActionRunner

func AddDisabledToActionRunner(x db.EngineMigration) error

func AddNameToWebhook

func AddNameToWebhook(x db.EngineMigration) error

func AddTokenPermissionsToActionRunJob

func AddTokenPermissionsToActionRunJob(x db.EngineMigration) error

func AddUniqueIndexForUserBadge

func AddUniqueIndexForUserBadge(x db.EngineMigration) error

AddUniqueIndexForUserBadge adds a compound unique indexes for user badge table and it replaces an old index on user_id

func FixClosedMilestoneCompleteness

func FixClosedMilestoneCompleteness(x db.EngineMigration) error

func FixCommitStatusTargetURLToUseRunAndJobID

func FixCommitStatusTargetURLToUseRunAndJobID(x db.EngineMigration) error

FixCommitStatusTargetURLToUseRunAndJobID partially migrates legacy Actions commit status target URLs to the new run/job ID-based form.

Only rows whose resolved run ID is below legacyURLIDThreshold are rewritten. This is because smaller legacy run indexes are more likely to collide with run ID URLs during runtime resolution, so this migration prioritizes that lower range and leaves the remaining legacy target URLs to the web compatibility logic.

func FixMissedRepoIDWhenMigrateAttachments

func FixMissedRepoIDWhenMigrateAttachments(x db.EngineMigration) error

Types

type UserBadge

type UserBadge struct {
	ID      int64 `xorm:"pk autoincr"`
	BadgeID int64
	UserID  int64
}

func (*UserBadge) TableIndices

func (n *UserBadge) TableIndices() []*schemas.Index

TableIndices implements xorm's TableIndices interface

Jump to

Keyboard shortcuts

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