<?php
declare(strict_types=1);

return [
    'up' => "
        ALTER TABLE `purchase_orders`
            ADD COLUMN `requisition_id` BIGINT UNSIGNED NULL COMMENT 'FK purchase_requisitions.id' AFTER `id`,
            ADD INDEX `idx_po_requisition` (`requisition_id`)
    ",
    'down' => "
        ALTER TABLE `purchase_orders`
            DROP INDEX `idx_po_requisition`,
            DROP COLUMN `requisition_id`
    ",
];
