/*==============================================================*/
/* Upgrade struktury z wersji 52 do 53                          */
/*==============================================================*/

ALTER TABLE GastroElement ADD COLUMN IsDifferentPrice smallint null 
GO
ALTER TABLE GastroElementList ADD COLUMN IsPriceFromProduct smallint null 
GO

UPDATE GastroElement SET IsDifferentPrice = 0
GO
UPDATE GastroElementList SET IsPriceFromProduct = 0
GO

UPDATE StructureVersion SET Version = 53
GO
