Class: AddSerializationParamsToReport
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddSerializationParamsToReport
- Defined in:
- lib/generators/prawn_report/install/templates/20120222122507_add_serialization_params_to_report.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
8 9 10 |
# File 'lib/generators/prawn_report/install/templates/20120222122507_add_serialization_params_to_report.rb', line 8 def self.down remove_column :report_templates, :serialization_params end |
.up ⇒ Object
4 5 6 |
# File 'lib/generators/prawn_report/install/templates/20120222122507_add_serialization_params_to_report.rb', line 4 def self.up add_column :report_templates, :serialization_params, :text end |