user images

This commit is contained in:
Steve Coast 2008-02-23 15:18:59 +00:00
parent 2e44f9ccf3
commit cacf1879c3
7 changed files with 52 additions and 3 deletions

View file

@ -0,0 +1,9 @@
class AddUserImage < ActiveRecord::Migration
def self.up
add_column 'users', 'image', 'mediumblob'
end
def self.down
remove_column 'users', 'image'
end
end