mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +08:00
10 lines
211 B
Ruby
10 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
|