v1_27

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddActionRunAttemptModel

func AddActionRunAttemptModel(x db.EngineMigration) error

AddActionRunAttemptModel adds the ActionRunAttempt table and the supporting ActionRun/ActionRunJob fields.

func AddActionRunJobSummaryTable

func AddActionRunJobSummaryTable(x db.EngineMigration) error

func AddBranchProtectionBypassAllowlist

func AddBranchProtectionBypassAllowlist(x db.EngineMigration) error

func AddCancellingSupportToActionRunner

func AddCancellingSupportToActionRunner(x db.EngineMigration) error

func AddContinueOnErrorToActionRunJob

func AddContinueOnErrorToActionRunJob(x db.EngineMigration) error

AddContinueOnErrorToActionRunJob adds the ContinueOnError column to ActionRunJob, storing the job-level continue-on-error value from the workflow YAML.

func AddCreatedUnixToActionUserIsDeletedIndex

func AddCreatedUnixToActionUserIsDeletedIndex(x db.EngineMigration) error

AddCreatedUnixToActionUserIsDeletedIndex extends the c_u composite index on the action table to include created_unix, enabling efficient ORDER BY on the dashboard feed query without a full sort of all matching rows.

func AddLastSyncUnixToMirror

func AddLastSyncUnixToMirror(x db.EngineMigration) error

func AddReusableWorkflowFieldsToActionRunJob

func AddReusableWorkflowFieldsToActionRunJob(x db.EngineMigration) error

AddReusableWorkflowFieldsToActionRunJob adds the ActionRunJob columns that describe the reusable workflow caller hierarchy, and the ActionRunAttemptJobIDIndex table backing run-wide AttemptJobID allocation.

func AddScopedWorkflowsSchema

func AddScopedWorkflowsSchema(x db.EngineMigration) error

func AddVisibilityToTeam

func AddVisibilityToTeam(x db.EngineMigration) error

func ExpandIssueAndCommentLongTextFieldsForMSSQL

func ExpandIssueAndCommentLongTextFieldsForMSSQL(x db.EngineMigration) error

ExpandIssueAndCommentLongTextFieldsForMSSQL expands legacy MSSQL nvarchar(4000) columns to nvarchar(max) so PR push comments and long issue content are not truncated.

func FixLegacyMSSQLDateTimeColumns

func FixLegacyMSSQLDateTimeColumns(x db.EngineMigration) error

FixLegacyMSSQLDateTimeColumns converts legacy locale-dependent DATETIME columns to DATETIME2. Databases created by old Gitea versions stored these columns as DATETIME, which fails to parse ISO datetime strings ('YYYY-MM-DD HH:MM:SS') when the MSSQL session language is not English, breaking external account linking and LFS lock creation. New installs already use DATETIME2, so only legacy MSSQL columns need converting.

Types

type VisibleType

type VisibleType int

Jump to

Keyboard shortcuts

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