10 lines
229 B
Ruby
10 lines
229 B
Ruby
class AddHasImageToSwfAssets < ActiveRecord::Migration
|
|
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
|
|
|