class CreatePrawnReportCatalogs

Public Class Methods

down() click to toggle source
# File lib/generators/prawn_report/install/templates/20120108210141_create_prawn_report_catalogs.rb, line 13
def self.down
  drop_table :report_templates
end
up() click to toggle source
# File lib/generators/prawn_report/install/templates/20120108210141_create_prawn_report_catalogs.rb, line 4
def self.up
  create_table :report_templates do |t|
    t.string :name
    t.string :report_type
    t.string :controller_name
    t.timestamps
  end  
end