Restore add_user_image migration.
authorTom Hughes <tom@compton.nu>
Sat, 23 Feb 2008 16:01:12 +0000 (16:01 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 23 Feb 2008 16:01:12 +0000 (16:01 +0000)
db/migrate/011_add_user_image.rb [new file with mode: 0644]

diff --git a/db/migrate/011_add_user_image.rb b/db/migrate/011_add_user_image.rb
new file mode 100644 (file)
index 0000000..807e93d
--- /dev/null
@@ -0,0 +1,9 @@
+class AddUserImage < ActiveRecord::Migration
+  def self.up
+    add_column "users", "image", :text
+  end
+
+  def self.down
+    remove_column "users", "image"
+  end
+end