-- liquibase formatted sql
-- changeset derek:update_stockoutline_lot_line_id

ALTER TABLE `stock_out_line`
    CHANGE COLUMN `inventoryId` `inventoryLotLineId` INT(11) NULL,
    ADD CONSTRAINT FK_STOCK_OUT_LINE_ON_LOT_LINE_ID FOREIGN KEY (inventoryLotLineId) REFERENCES inventory_lot_line (id)
;