Documentation
¶
Index ¶
- func AddActionsConcurrency(x db.EngineMigration) error
- func AddDisabledToActionRunner(x db.EngineMigration) error
- func AddNameToWebhook(x db.EngineMigration) error
- func AddTokenPermissionsToActionRunJob(x db.EngineMigration) error
- func AddUniqueIndexForUserBadge(x db.EngineMigration) error
- func FixClosedMilestoneCompleteness(x db.EngineMigration) error
- func FixCommitStatusTargetURLToUseRunAndJobID(x db.EngineMigration) error
- func FixMissedRepoIDWhenMigrateAttachments(x db.EngineMigration) error
- type UserBadge
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 ¶
Click to show internal directories.
Click to hide internal directories.