Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20200526193555_add_squash_option_to_project.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6dd4e1c7c8e1fa5dbf14d6b5a27a0239927651fb (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class AddSquashOptionToProject < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def change
    add_column :project_settings, :squash_option, :integer, default: 3, limit: 2
  end
end