first commit

This commit is contained in:
rodrigo committed 2025-04-10 23:07:21 -03:00
commit c9fb67e751
423 files changed
+53287

No files matched your search

@@ -0,0 +1,11 @@
-- AlterTable: Adicionar novos campos sem modificar os existentes
ALTER TABLE "clientes"
ADD COLUMN IF NOT EXISTS "dataNascimento" TIMESTAMP,
ADD COLUMN IF NOT EXISTS "estadoRg" TEXT,
ADD COLUMN IF NOT EXISTS "orgaoEmissor" TEXT,
ADD COLUMN IF NOT EXISTS "usaDNI" BOOLEAN DEFAULT false,
ADD COLUMN IF NOT EXISTS "possuiFilhos" BOOLEAN DEFAULT false;
-- AlterTable: Modificar valor default do tipoPrevidencia sem afetar dados existentes
ALTER TABLE "clientes"
ALTER COLUMN "tipoPrevidencia" SET DEFAULT 'NAO_CONTRIBUI';