mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 05:34:53 +08:00
9 lines
214 B
Ruby
9 lines
214 B
Ruby
class ReportGroupingRemoval < ActiveRecord::Migration[4.2]
|
|
def up
|
|
remove_column :reports, :grouped_by
|
|
end
|
|
|
|
def down
|
|
add_column :reports, :grouped_by, :integer, :null => false, :default => 0
|
|
end
|
|
end
|