IF NOT EXISTS(SELECT 1 FROM SYSCOLUMNS WHERE ID = OBJECT_ID('EST_PBM_PROJETO_EST_PROD') AND NAME = 'ALLOW_CUSTOM_MEMBERSHIP')
BEGIN
	ALTER TABLE EST_PBM_PROJETO_EST_PROD ADD ALLOW_CUSTOM_MEMBERSHIP BIT NOT NULL DEFAULT 0;
END