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

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