class CreateFxRateTable
Public Class Methods
down()
click to toggle source
# File lib/generators/fx_rate/migration/templates/create_fx_rate_table.rb, line 11 def self.down drop_tabel :fx_rates end
up()
click to toggle source
# File lib/generators/fx_rate/migration/templates/create_fx_rate_table.rb, line 2 def self.up create_table :fx_rates, :force => true do |t| t.string :currency t.float :rate t.string :downloaded_at t.timestamps end end