Run annotate_models
This commit is contained in:
parent
55e853d31d
commit
d7e24f6521
124 changed files with 2192 additions and 19 deletions
|
|
@ -1,5 +1,17 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: users_roles
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# role_id :integer
|
||||
# user_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_users_roles_on_user_id_and_role_id (user_id,role_id)
|
||||
#
|
||||
class UsersRole < ApplicationRecord
|
||||
belongs_to :role
|
||||
belongs_to :user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue