IF  ( NOT EXISTS ( SELECT OBJECT_ID FROM SYS.COLUMNS WHERE OBJECT_ID = OBJECT_ID('DSYNC_CLIENT') AND NAME LIKE 'FLAG_NAO_CONSOLIDA' ) )
BEGIN
	ALTER TABLE DSYNC_CLIENT ADD FLAG_NAO_CONSOLIDA BIT NOT NULL DEFAULT 0 
END
GO

IF  ( NOT EXISTS ( SELECT OBJECT_ID FROM SYS.COLUMNS WHERE OBJECT_ID = OBJECT_ID('DSYNC_CLIENT') AND NAME LIKE 'FLAG_NAO_ENVIA_CARGA' ) )
BEGIN
	ALTER TABLE DSYNC_CLIENT ADD FLAG_NAO_ENVIA_CARGA BIT NOT NULL DEFAULT 0 
END
GO
