class ModerationLog < ApplicationRecord belongs_to :moderatable, polymorphic: true belongs_to :admin end