alter table formas add if not exists TEF_PAYGO_Modalidade integer; alter table formas add if not exists TEF_PAYGO_Tipocartao integer; alter table formas add if not exists TEF_PAYGO_ModFinanciamento integer; alter table formas add if not exists TEF_PAYGO_Autorizador varchar(20); alter table anfe add if not exists enviada_contingencia boolean; alter table cupom2 add if not exists e2e varchar(40); CREATE TABLE IF NOT EXISTS "pix" ( "numero" AUTOINC, "dh" TIMESTAMP, "NSU" VARCHAR(40), "valor" FLOAT, "Rede_Adquirente" VARCHAR(30), "operacao" INTEGER, "E2E" VARCHAR(70), PRIMARY KEY ("RecordID") COMPRESS NONE DESCRIPTION 'Registro de transação PIX' LOCALE CODE 0 USER MAJOR VERSION 4 USER MINOR VERSION 5 ); CREATE INDEX IF NOT EXISTS "numero" ON "pix" ("numero"); CREATE INDEX IF NOT EXISTS "nsu" ON "pix" ("NSU"); alter table os10 add if not exists NSU varchar(40); alter table os10 add if not exists rede varchar(30); alter table os10 add if not exists Nome_do_Produto varchar(30); alter table os10 add if not exists cAut varchar(10); alter table os10 add if not exists bandeira_cartao integer; alter table os10 add if not exists cnpj_integradora varchar(20); alter table os10 add if not exists tipo_integracao Integer; alter table os10 add if not exists E2E varchar(40); alter table nfe1 add if not exists FCP_Aliq float;