scinote-web/db/migrate/20160527152000_report_grouping_removal.rb
2016-07-21 13:11:15 +02:00

9 lines
211 B
Ruby

class ReportGroupingRemoval < ActiveRecord::Migration
def up
remove_column :reports, :grouped_by
end
def down
add_column :reports, :grouped_by, :integer, :null => false, :default => 0
end
end