Disable rubocop for down method
This commit is contained in:
parent
0b20d850cb
commit
c9fbbb3ae2
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ class MigrateProjectStatistics < ActiveRecord::Migration
|
|||
remove_column :projects, :commit_count
|
||||
end
|
||||
|
||||
# rubocop: disable Migration/AddColumn
|
||||
def down
|
||||
add_column :projects, :repository_size, :float, default: 0.0
|
||||
add_column :projects, :commit_count, :integer, default: 0
|
||||
|
|
Loading…
Reference in a new issue