1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate/20110514145602_add_has_image_to_swf_assets.rb

11 lines
234 B
Ruby
Raw Normal View History

class AddHasImageToSwfAssets < ActiveRecord::Migration[4.2]
2011-05-20 16:19:14 -07:00
def self.up
add_column :swf_assets, :has_image, :boolean, :null => false, :default => false
end
def self.down
remove_column :swf_assets, :has_image
end
end