/*==============================================================*/
/* Upgrade struktury z wersji 48 do 49                          */
/*==============================================================*/

ALTER TABLE Product ADD COLUMN StockAmount decimal(14,3) null
GO
ALTER TABLE Product ADD COLUMN StockBlocked decimal(14,3) null
GO

UPDATE Product SET StockAmount = 0
GO
UPDATE Product SET StockBlocked = 0
GO

UPDATE StructureVersion SET Version = 49
GO
