IF NOT  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[GLB_CONFIG_ACEITE_LGPD]') AND type in (N'U'))
BEGIN

	CREATE TABLE [dbo].[GLB_CONFIG_ACEITE_LGPD](
		[CD_CONFIG_ACEITE_LGPD] [int] IDENTITY(1,1) NOT NULL,
		[ATIVA_VALID_CLIENTES_AVISTA] [int] NOT NULL,
		[ATIVA_VALID_CLIENTES_CONVENIO] [int] NOT NULL,
		[ATIVA_VALID_CLIENTES_CREDIARIO] [int] NOT NULL,
		[NOTIFICAR_PEND_ACEITE] [int] NOT NULL,
		[BLOQ_VENDA_ACEITE_PEND] [int] NOT NULL,	
		[MSG_CONFIRMA_PINPAD] [varchar](255) NOT NULL,
		[CD_USU] [int] NOT NULL,
		[DT_ULT_ALT] [datetime] NOT NULL,
		[DT_CADASTRO] [datetime] NOT NULL,
		CONSTRAINT [PK_GLB_CONFIG_ACEITE_LGPD] PRIMARY KEY ([CD_CONFIG_ACEITE_LGPD])
	)
END