IF NOT EXISTS(
    SELECT *
    FROM sys.columns 
    WHERE Name      = N'isGrouped'
      AND Object_ID = Object_ID(N'pal_SurfaceField'))
BEGIN
    ALTER TABLE pal_SurfaceField
	ADD isGrouped BIT NULL; 
END