user images
This commit is contained in:
parent
2e44f9ccf3
commit
cacf1879c3
7 changed files with 52 additions and 3 deletions
9
db/migrate/011_add_user_image.rb
Normal file
9
db/migrate/011_add_user_image.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue