Class: AddFilledCriteriaToOptions

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/prawn_report/install/templates/20120316162712_add_filled_criteria_to_options.rb

Class Method Summary collapse

Class Method Details

.downObject



8
9
10
# File 'lib/generators/prawn_report/install/templates/20120316162712_add_filled_criteria_to_options.rb', line 8

def self.down
  remove_column :ac_filter_options, :filled_criteria, :text
end

.upObject



4
5
6
# File 'lib/generators/prawn_report/install/templates/20120316162712_add_filled_criteria_to_options.rb', line 4

def self.up
  add_column :ac_filter_options, :filled_criteria, :text
end