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



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