Commit 2e4483b0

mo k <mo@mokhan.ca>
2012-10-08 21:57:15
add final part of migration which is to remove the original image column from the creations table.
1 parent 0ea183c
db/migrate/20121007153155_migrate_images_to_photos.rb
@@ -15,6 +15,7 @@ class MigrateImagesToPhotos < ActiveRecord::Migration
       photo.save!
       puts "#{index}. migrated #{creation.image.url} to #{photo.attributes}"
     end
+    #remove_column :creations, :image
   end
 
   def down