photomix/db/migrate/20100412220801_add_file_to_...

10 lines
178 B
Ruby
Raw Normal View History

class AddFileToPhoto < ActiveRecord::Migration
def self.up
2012-07-24 23:26:16 +02:00
add_column :photos, :attachment, :string
end
def self.down
2012-07-24 23:26:16 +02:00
remove_column :photos, :attachment
end
end