-- Migration 018: HyFin payment id on the payments row.
-- HyFin's refund endpoint takes its own payment id, so the payment webhook
-- stores that id as it arrives and the admin refund reads it back.
-- MySQL syntax (not MariaDB).

ALTER TABLE payments
    ADD COLUMN provider_payment_id VARCHAR(160) NULL AFTER gateway_reference;
