Commit 890a2b3c authored by Baodong's avatar Baodong Committed by Alper Akgun

Add has_shimo to project_settings table

parent 39dcf147
# 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
......@@ -18301,6 +18301,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