photomix/db/migrate/20100412220801_add_file_to_photo.rb

9 lines
166 B
Ruby

class AddFileToPhoto < ActiveRecord::Migration
def self.up
add_column :photos, :file, :string
end
def self.down
remove_column :photos, :file
end
end