--liquibase formatted sql

--changeset derek:udpate stock in line, add polId
ALTER TABLE `stock_in_line`
ADD COLUMN `purchaseOrderLineId` INT NOT NULL after `deleted`,
ADD CONSTRAINT `FK_STOCK_IN_LINE_PURCHASE_ORDER_LINE_ON_PURCHASEORDERLINEID`
    FOREIGN KEY (`purchaseOrderLineId`) REFERENCES `purchase_order_line` (`id`);