Files
canine/app/models/account_user.rb
Chris Zhu 1c9ddd8f19 accounts
2024-10-22 11:56:58 -07:00

25 lines
575 B
Ruby

# == Schema Information
#
# Table name: account_users
#
# id :bigint not null, primary key
# created_at :datetime not null
# updated_at :datetime not null
# account_id :bigint not null
# user_id :bigint not null
#
# Indexes
#
# index_account_users_on_account_id (account_id)
# index_account_users_on_user_id (user_id)
#
# Foreign Keys
#
# fk_rails_... (account_id => accounts.id)
# fk_rails_... (user_id => users.id)
#
class AccountUser < ApplicationRecord
belongs_to :user
belongs_to :account
end