2017-06-30 16:23:28 +08:00
|
|
|
class ReportGroupingRemoval < ActiveRecord::Migration[4.2]
|
|
|
|
def up
|
2016-07-21 19:11:15 +08:00
|
|
|
remove_column :reports, :grouped_by
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
add_column :reports, :grouped_by, :integer, :null => false, :default => 0
|
|
|
|
end
|
|
|
|
end
|