module Referrals
  class WithdrawalHistory < ApplicationRecord
    belongs_to :withdrawal
  end
end

module Referrals
  class WithdrawalHistory < ApplicationRecord
    belongs_to :withdrawal
    default_scope { order(created_at: :asc) }
  end
end

Add default scope to withdrawal history
Add default scope to withdrawal history
