Sha256: 93b3b9e6938bc7c88363d8ff47a596ebdbda7f622e379b9290fddd80baadbe0d
Contents?: true
Size: 259 Bytes
Versions: 2
Compression:
Stored size: 259 Bytes
Contents
# frozen_string_literals: true module Jobshop class RoleAssignment < ApplicationRecord belongs_to :organization belongs_to :user, foreign_key: %i[ organization_id user_id ] belongs_to :role, foreign_key: %i[ organization_id role_id ] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jobshop-0.0.167 | app/models/jobshop/role_assignment.rb |
jobshop-0.0.163 | app/models/jobshop/role_assignment.rb |