]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/011_add_user_image.rb
Actually set the locale from the users browser request, rather than just parsing it.
[rails.git] / db / migrate / 011_add_user_image.rb
index 3d97e15820c843dbadd6571e628c4ccdb7d9052f..807e93d599c69dd115393542b3b00642d72037f8 100644 (file)
@@ -1,9 +1,9 @@
 class AddUserImage < ActiveRecord::Migration
   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