mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +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
|