diff --git a/db/migrate/20110411074351_remove_path_from_photos.rb b/db/migrate/20110411074351_remove_path_from_photos.rb deleted file mode 100644 index 6b0934d..0000000 --- a/db/migrate/20110411074351_remove_path_from_photos.rb +++ /dev/null @@ -1,8 +0,0 @@ -class RemovePathFromPhotos < ActiveRecord::Migration - def self.up - remove_column :photos, :path - end - - def self.down - end -end diff --git a/db/schema.rb b/db/schema.rb index 409f5b0..d521b93 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20110411074351) do +ActiveRecord::Schema.define(:version => 20100412220801) do create_table "albums", :force => true do |t| t.string "title", :null => false @@ -73,6 +73,7 @@ ActiveRecord::Schema.define(:version => 20110411074351) do t.float "longitude" t.float "latitude" t.string "file" + t.text "path" end add_index "photos", ["album_id"], :name => "index_photos_on_album_id"