Commit 04880004 authored by Eugie Limpin's avatar Eugie Limpin Committed by Steve Abrams

Add suggest_pipeline_enabled to application_settings

Adds a setting (default: enabled) to toggle the Suggest Pipeline feature.

Changelog: changed
parent 9d9a3a4e
# frozen_string_literal: true
class AddSuggestPipelineEnabledToApplicationSettings < Gitlab::Database::Migration[1.0]
def change
add_column :application_settings, :suggest_pipeline_enabled, :boolean, default: true, null: false
end
end
262127539fc16715a56e2cf7426f0f8d24922e26847a01a0a15552d71cd148f8
\ No newline at end of file
......@@ -10347,6 +10347,7 @@ CREATE TABLE application_settings (
sidekiq_job_limiter_mode smallint DEFAULT 1 NOT NULL,
sidekiq_job_limiter_compression_threshold_bytes integer DEFAULT 100000 NOT NULL,
sidekiq_job_limiter_limit_bytes integer DEFAULT 0 NOT NULL,
suggest_pipeline_enabled boolean DEFAULT true NOT NULL,
CONSTRAINT app_settings_container_reg_cleanup_tags_max_list_size_positive CHECK ((container_registry_cleanup_tags_service_max_list_size >= 0)),
CONSTRAINT app_settings_ext_pipeline_validation_service_url_text_limit CHECK ((char_length(external_pipeline_validation_service_url) <= 255)),
CONSTRAINT app_settings_registry_exp_policies_worker_capacity_positive CHECK ((container_registry_expiration_policies_worker_capacity >= 0)),
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