IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE 
	TABLE_NAME = 'publ_PurchaseOrderQuoteItemFinal'
	AND COLUMN_NAME = 'invoicePrice')
BEGIN
	ALTER TABLE [publ_PurchaseOrderQuoteItemFinal] ADD [invoicePrice] DECIMAL(18,2) NULL
END

IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE 
	TABLE_NAME = 'publ_PurchaseOrderQuoteItemFinal'
	AND COLUMN_NAME = 'available')
BEGIN
	ALTER TABLE [publ_PurchaseOrderQuoteItemFinal] ADD [available] INT NULL
END
