# == Schema Information # # Table name: experts_procedures # # id :bigint not null, primary key # allow_decision_access :boolean default(FALSE), not null # revoked_at :datetime # created_at :datetime not null # updated_at :datetime not null # expert_id :bigint not null # procedure_id :bigint not null # class ExpertsProcedure < ApplicationRecord belongs_to :expert belongs_to :procedure has_many :avis, dependent: :destroy end