foto exif

This commit is contained in:
Andreas Stephanides
2015-04-07 23:19:27 +02:00
parent bd7aac9bb7
commit b04b23e647
4 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
class AddExifToFoto < ActiveRecord::Migration
def change
add_column :fotos, :exif, :string
add_column :fotos, :has_exif, :boolean
end
end

View File

@@ -0,0 +1,5 @@
class AddDateToFoto < ActiveRecord::Migration
def change
add_column :fotos, :taken_at, :timestamp
end
end