add is_admin attribute to users

This commit is contained in:
Stella Rouzi 2014-07-18 14:43:49 +03:00
parent 07877f3256
commit 0418924d8e
7 changed files with 25 additions and 21 deletions

View file

@ -0,0 +1,5 @@
class AddIsAdminToUsers < ActiveRecord::Migration
def change
add_column :users, :is_admin, :boolean
end
end