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