
/*------ ATD 319787 ------*/
IF NOT EXISTS (SELECT 1 FROM SYSCOLUMNS C JOIN SYSOBJECTS T ON C.ID = T.ID AND T.XTYPE = 'U'
				WHERE T.NAME = 'PediCliComplemento' AND C.NAME = 'BloqueiaDesdobramento')
	ALTER TABLE PediCliComplemento ADD BloqueiaDesdobramento NUMERIC(1,0) NOT NULL DEFAULT 0
go