import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient() async function main() { await prisma.$executeRaw` ALTER TABLE "configuracao_documento" ADD COLUMN "templatePadrao" TEXT, ADD COLUMN "margensTemplate" JSONB DEFAULT '{"top": 35, "bottom": 29, "left": 25, "right": 25}'::jsonb; `; } main() .catch(e => { console.error(e); process.exit(1); }) .finally(async () => { await prisma.$disconnect(); });