]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/011_add_user_image.rb
Ignores activerecord translation keys as unused
[rails.git] / db / migrate / 011_add_user_image.rb
index 3d97e15820c843dbadd6571e628c4ccdb7d9052f..2f53c65fc5e56ff96a5e5058a20d4de4687032ec 100644 (file)
@@ -1,9 +1,9 @@
-class AddUserImage < ActiveRecord::Migration
+class AddUserImage < ActiveRecord::Migration[4.2]
   def self.up
-    add_column 'users', 'image', 'mediumblob'
+    add_column "users", "image", :text
   end
 
   def self.down
-    remove_column 'users', 'image'
+    remove_column "users", "image"
   end
 end