photomix/db/migrate/20100412220801_add_file_to_photo.rb

10 lines
166 B
Ruby
Raw Normal View History

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