impress/db/migrate/20110807212936_add_conversion_timestamps_to_swf_assets.rb

12 lines
329 B
Ruby
Raw Permalink Normal View History

class AddConversionTimestampsToSwfAssets < ActiveRecord::Migration[4.2]
2011-08-07 15:23:44 -07:00
def self.up
add_column :swf_assets, :reported_broken_at, :timestamp
add_column :swf_assets, :converted_at, :timestamp
end
def self.down
remove_column :swf_assets, :converted_at
remove_column :swf_assets, :reported_broken_at
end
end