Class: Role

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Sunrise::Models::Role
Defined in:
lib/generators/sunrise/templates/models/defaults/role.rb

Overview

Schema Information

Table name: roles

id         :integer(4)      not null, primary key
role_type  :integer(1)      default(0)
user_id    :integer(4)      not null
created_at :datetime
updated_at :datetime

Indexes

fk_user  (user_id)

Method Summary

Methods included from Sunrise::Models::Role

included