Migrations added

This commit is contained in:
Andrew8xx8 2013-03-04 18:51:00 +04:00
parent 152c6018b3
commit 9a06dd4aa1
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,9 @@
class RemoveBlockedFromUser < ActiveRecord::Migration
def up
remove_column :users, :blocked
end
def down
add_column :users, :blocked, :boolean
end
end