9 lines
166 B
Ruby
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
|