-- Migration: add other_payment_item_id to bursary_discounts
ALTER TABLE bursary_discounts
  ADD COLUMN other_payment_item_id BIGINT UNSIGNED NULL AFTER category;
ALTER TABLE bursary_discounts
  ADD CONSTRAINT fk_bursary_discount_item FOREIGN KEY (other_payment_item_id) REFERENCES other_payment_items(id) ON DELETE RESTRICT;
