Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2025-06-30 00:11:30 +00:00
parent e43756bea7
commit 24eacc7e6e
4 changed files with 21 additions and 3 deletions

View File

@ -130,7 +130,7 @@ production: &base
## Default theme ID
## 1 - Indigo
## 2 - Gray
## 3 - Light Gray
## 3 - Neutral
## 4 - Blue
## 5 - Green
## 6 - Light Indigo
@ -138,7 +138,6 @@ production: &base
## 8 - Light Green
## 9 - Red
## 10 - Light Red
## 11 - Dark Mode (alpha)
# default_theme: 1 # default: 1
## Default color mode ID
## 1 - Light

View File

@ -0,0 +1,18 @@
# frozen_string_literal: true
class ChangeWorkItemCustomStatusNameLimit < Gitlab::Database::Migration[2.3]
milestone '18.2'
disable_ddl_transaction!
CONSTRAINT_NAME = 'check_720a7c4d24'
def up
remove_text_limit :work_item_custom_statuses, :name, constraint_name: CONSTRAINT_NAME
add_text_limit :work_item_custom_statuses, :name, 32, constraint_name: CONSTRAINT_NAME
end
def down
remove_text_limit :work_item_custom_statuses, :name, constraint_name: CONSTRAINT_NAME
add_text_limit :work_item_custom_statuses, :name, 255, constraint_name: CONSTRAINT_NAME
end
end

View File

@ -0,0 +1 @@
d027959e61d60dee318b9b758d27af687da352a808f770be0c05540903134274

View File

@ -26159,7 +26159,7 @@ CREATE TABLE work_item_custom_statuses (
updated_by_id bigint,
converted_from_system_defined_status_identifier smallint,
CONSTRAINT check_4789467800 CHECK ((char_length(color) <= 7)),
CONSTRAINT check_720a7c4d24 CHECK ((char_length(name) <= 255)),
CONSTRAINT check_720a7c4d24 CHECK ((char_length(name) <= 32)),
CONSTRAINT check_8ea8b3c991 CHECK ((char_length(description) <= 255)),
CONSTRAINT check_ff2bac1606 CHECK ((category > 0))
);