Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2025-03-08 18:11:47 +00:00
parent cc6bac0780
commit fd13347320
3 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,16 @@
# frozen_string_literal: true
class AddProviderToSamlGroupLinks < Gitlab::Database::Migration[2.2]
milestone '17.10'
disable_ddl_transaction!
def up
add_column :saml_group_links, :provider, :text, null: true, if_not_exists: true
add_text_limit :saml_group_links, :provider, 255
end
def down
remove_column :saml_group_links, :provider
end
end

View File

@ -0,0 +1 @@
9b0420177a605e18ac52a8f524a8bd54e28493ff2c9b8e2bc9b752d32faa24c7

View File

@ -21071,7 +21071,9 @@ CREATE TABLE saml_group_links (
member_role_id bigint,
assign_duo_seats boolean DEFAULT false NOT NULL,
scim_group_uid uuid,
CONSTRAINT check_1b3fc49d1e CHECK ((char_length(saml_group_name) <= 255))
provider text,
CONSTRAINT check_1b3fc49d1e CHECK ((char_length(saml_group_name) <= 255)),
CONSTRAINT check_59e993f34e CHECK ((char_length(provider) <= 255))
);
CREATE SEQUENCE saml_group_links_id_seq