Commit c9fbbb3a authored by Lin Jen-Shin's avatar Lin Jen-Shin

Disable rubocop for down method

parent 0b20d850
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment