Commit cccb6f14 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'mc-352544-remove-show_diff_preview_in_email-column' into 'master'

Drop show_diff_preview_in_email column

See merge request gitlab-org/gitlab!81200
parents 6f0018b1 8395ee77
# frozen_string_literal: true
class RemoveShowDiffPreviewInEmailColumn < Gitlab::Database::Migration[1.0]
enable_lock_retries!
def up
remove_column :project_settings, :show_diff_preview_in_email, :boolean
end
def down
add_column :project_settings, :show_diff_preview_in_email, :boolean, default: true, null: false
end
end
8c9936d1c0f728c2b40dca536f9edb40f4af94a274ccf1dbec984f218710f695
\ No newline at end of file
...@@ -18766,7 +18766,6 @@ CREATE TABLE project_settings ( ...@@ -18766,7 +18766,6 @@ CREATE TABLE project_settings (
merge_commit_template text, merge_commit_template text,
has_shimo boolean DEFAULT false NOT NULL, has_shimo boolean DEFAULT false NOT NULL,
squash_commit_template text, squash_commit_template text,
show_diff_preview_in_email boolean DEFAULT true NOT NULL,
legacy_open_source_license_available boolean DEFAULT true NOT NULL, legacy_open_source_license_available boolean DEFAULT true NOT NULL,
CONSTRAINT check_3a03e7557a CHECK ((char_length(previous_default_branch) <= 4096)), CONSTRAINT check_3a03e7557a CHECK ((char_length(previous_default_branch) <= 4096)),
CONSTRAINT check_b09644994b CHECK ((char_length(squash_commit_template) <= 500)), CONSTRAINT check_b09644994b CHECK ((char_length(squash_commit_template) <= 500)),
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