
/*------ ATD 487946 ------*/
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'ITEMFILEST' and COLUMN_NAME = 'BloquearReservaAutoLote' ) 
begin
    ALTER TABLE ITEMFILEST ADD BloquearReservaAutoLote tinyint null
end