-- liquibase formatted sql
-- changeset derek:add_lot_line_id_to_stock_in_line

ALTER TABLE `stock_in_line`
    ADD COLUMN `inventoryLotLineId` INT(11) NULL AFTER `inventoryLotId`,
    ADD CONSTRAINT FK_STOCK_IN_LINE_ON_LOT_LINE_ID FOREIGN KEY (inventoryLotLineId) REFERENCES inventory_lot_line (id)
;