Ability to block user
This commit is contained in:
parent
fb6d4511a0
commit
497ee5fbbc
9 changed files with 60 additions and 25 deletions
5
db/migrate/20120413135904_add_blocked_field_to_user.rb
Normal file
5
db/migrate/20120413135904_add_blocked_field_to_user.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddBlockedFieldToUser < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :blocked, :boolean, :null => false, :default => false
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue