-- liquibase formatted sql
-- changeset derek:add poId to stock in line
ALTER TABLE `stock_in_line`
ADD COLUMN `purchaseOrderId` INT(11) NULL AFTER `deleted`,
ADD CONSTRAINT `FK_STOCK_IN_LINE_TO_PURCHASE_ORDER_ON_PURCHASE_ORDER_ID` FOREIGN KEY (`purchaseOrderId`) REFERENCES `purchase_order` (`id`);
