Adding admin role and devise views
This commit is contained in:
5
db/migrate/20120904024426_add_admin_to_users.rb
Normal file
5
db/migrate/20120904024426_add_admin_to_users.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddAdminToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :admin, :boolean
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user