summaryrefslogtreecommitdiff
path: root/db/migrate/20181211092510_add_name_author_id_and_sha_to_releases.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20181211092510_add_name_author_id_and_sha_to_releases.rb')
-rw-r--r--db/migrate/20181211092510_add_name_author_id_and_sha_to_releases.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/db/migrate/20181211092510_add_name_author_id_and_sha_to_releases.rb b/db/migrate/20181211092510_add_name_author_id_and_sha_to_releases.rb
index 3ab808ba667..79711d13cfe 100644
--- a/db/migrate/20181211092510_add_name_author_id_and_sha_to_releases.rb
+++ b/db/migrate/20181211092510_add_name_author_id_and_sha_to_releases.rb
@@ -5,9 +5,11 @@ class AddNameAuthorIdAndShaToReleases < ActiveRecord::Migration[5.0]
DOWNTIME = false
+ # rubocop:disable Migration/PreventStrings
def change
add_column :releases, :author_id, :integer
- add_column :releases, :name, :string # rubocop:disable Migration/AddLimitToStringColumns
- add_column :releases, :sha, :string # rubocop:disable Migration/AddLimitToStringColumns
+ add_column :releases, :name, :string
+ add_column :releases, :sha, :string
end
+ # rubocop:enable Migration/PreventStrings
end