summaryrefslogtreecommitdiff
path: root/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb')
-rw-r--r--db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb b/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb
index cb897edde8e..3c96a1737c2 100644
--- a/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb
+++ b/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb
@@ -3,7 +3,11 @@
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 # rubocop:disable Migration/AddColumnsToWideTables
+ add_column :projects, :suggestion_commit_message, :string, limit: 255
end
+ # rubocop:enable Migration/PreventStrings
+ # rubocop:enable Migration/AddColumnsToWideTables
end