Restore add_user_image migration.
This commit is contained in:
parent
fed5c076aa
commit
72e30a3955
1 changed files with 9 additions and 0 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", :text
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column "users", "image"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue