module Merit::Models::ActiveRecord
  class ActivityLog < ActiveRecord::Base
    self.table_name = :merit_activity_logs

    belongs_to :action, class_name: 'Merit::Action'
    belongs_to :related_change, polymorphic: true, optional: true
    has_one :sash, through: :related_change
  end
end

class Merit::ActivityLog < Merit::Models::ActiveRecord::ActivityLog; end
