2020-01-13 12:08:04 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class AddSuggestionCommitMessageToProjects < ActiveRecord::Migration[5.2]
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-04-21 15:21:10 +00:00
|
|
|
# rubocop:disable Migration/AddColumnsToWideTables
|
|
|
|
# rubocop:disable Migration/PreventStrings
|
2020-01-13 12:08:04 +00:00
|
|
|
def change
|
2020-04-21 15:21:10 +00:00
|
|
|
add_column :projects, :suggestion_commit_message, :string, limit: 255
|
2020-01-13 12:08:04 +00:00
|
|
|
end
|
2020-04-21 15:21:10 +00:00
|
|
|
# rubocop:enable Migration/PreventStrings
|
|
|
|
# rubocop:enable Migration/AddColumnsToWideTables
|
2020-01-13 12:08:04 +00:00
|
|
|
end
|