Commit 3d6d0c29 authored by Alper Akgun's avatar Alper Akgun

Merge branch 'feature/migration/add_has_shimo_to_project_settings' into 'master'

Add has_shimo to project_settings table

See merge request gitlab-org/gitlab!74172
parents f2f2dfc6 890a2b3c
# frozen_string_literal: true
class AddHasShimoToProjectSettings < Gitlab::Database::Migration[1.0]
enable_lock_retries!
def change
add_column :project_settings, :has_shimo, :boolean, default: false, null: false
end
end
54b83ba1f8e8aa8a23f230664bcd6cc068a2df2d669e395713f0805d0f054f9c
\ No newline at end of file
......@@ -18302,6 +18302,7 @@ CREATE TABLE project_settings (
previous_default_branch text,
warn_about_potentially_unwanted_characters boolean DEFAULT true NOT NULL,
merge_commit_template text,
has_shimo boolean DEFAULT false NOT NULL,
CONSTRAINT check_3a03e7557a CHECK ((char_length(previous_default_branch) <= 4096)),
CONSTRAINT check_bde223416c CHECK ((show_default_award_emojis IS NOT NULL)),
CONSTRAINT check_eaf7cfb6a7 CHECK ((char_length(merge_commit_template) <= 500))
......@@ -693,6 +693,7 @@ ProjectCiCdSetting:
ProjectSetting:
- allow_merge_on_skipped_pipeline
- has_confluence
- has_shimo
- has_vulnerabilities
ProtectedEnvironment:
- id
......
......@@ -137,6 +137,7 @@ project_setting:
unexposed_attributes:
- created_at
- has_confluence
- has_shimo
- has_vulnerabilities
- prevent_merge_without_jira_issue
- warn_about_potentially_unwanted_characters
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment