mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
10 lines
186 B
Ruby
10 lines
186 B
Ruby
class AddTakenDateToPhoto < ActiveRecord::Migration[5.1]
|
|
def self.up
|
|
add_column :photos, :taken_at, :datetime
|
|
end
|
|
|
|
def self.down
|
|
remove_column :photos, :taken_at
|
|
end
|
|
end
|