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

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

class AddSuggestionCommitMessageToProjects < ActiveRecord::Migration[5.2]
  DOWNTIME = false

  # rubocop:disable Migration/AddColumnsToWideTables
  # rubocop:disable Migration/PreventStrings
  def change
    add_column :projects, :suggestion_commit_message, :string, limit: 255
  end
  # rubocop:enable Migration/PreventStrings
  # rubocop:enable Migration/AddColumnsToWideTables
end