]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/011_add_user_image.rb
Reposition the note and user report flags
[rails.git] / db / migrate / 011_add_user_image.rb
index 3d97e15820c843dbadd6571e628c4ccdb7d9052f..c25afb413eb000c3a1dc972f91a572d04feab794 100644 (file)
@@ -1,9 +1,9 @@
-class AddUserImage < ActiveRecord::Migration
+class AddUserImage < ActiveRecord::Migration[5.0]
   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