summaryrefslogtreecommitdiff
path: root/db/migrate/20220817122907_re_add_show_diff_preview_in_email_to_project_settings.rb
blob: bb5649e3a99774480a0935526ffac4920f0467bf (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class ReAddShowDiffPreviewInEmailToProjectSettings < Gitlab::Database::Migration[2.0]
  enable_lock_retries!

  def change
    add_column :project_settings, :show_diff_preview_in_email, :boolean, default: true, null: false
  end
end