mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -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
|
||||
|
@ -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
|
1
db/schema_migrations/20250627004858
Normal file
1
db/schema_migrations/20250627004858
Normal file
@ -0,0 +1 @@
|
||||
d027959e61d60dee318b9b758d27af687da352a808f770be0c05540903134274
|
@ -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))
|
||||
);
|
||||
|
Reference in New Issue
Block a user