debian-mirror-gitlab/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb

14 lines
416 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
class AddSuggestionCommitMessageToProjects < ActiveRecord::Migration[5.2]
DOWNTIME = false
2020-05-24 23:13:21 +05:30
# rubocop:disable Migration/AddColumnsToWideTables
# rubocop:disable Migration/PreventStrings
2020-03-13 15:44:24 +05:30
def change
2020-05-24 23:13:21 +05:30
add_column :projects, :suggestion_commit_message, :string, limit: 255
2020-03-13 15:44:24 +05:30
end
2020-05-24 23:13:21 +05:30
# rubocop:enable Migration/PreventStrings
# rubocop:enable Migration/AddColumnsToWideTables
2020-03-13 15:44:24 +05:30
end