/* Warnings: - You are about to drop the column `footerImageUrl` on the `configuracao_documento` table. All the data in the column will be lost. - You are about to drop the column `headerImageUrl` on the `configuracao_documento` table. All the data in the column will be lost. - You are about to drop the column `logoUrl` on the `configuracao_documento` table. All the data in the column will be lost. - A unique constraint covering the columns `[escritorioId]` on the table `configuracao_documento` will be added. If there are existing duplicate values, this will fail. */ -- AlterTable ALTER TABLE "configuracao_documento" DROP COLUMN "footerImageUrl", DROP COLUMN "headerImageUrl", DROP COLUMN "logoUrl", ADD COLUMN "escritorioId" UUID, ADD COLUMN "margensTemplate" JSONB DEFAULT '{"top":35,"bottom":29,"left":25,"right":25}', ADD COLUMN "templatePadrao" TEXT; -- CreateIndex CREATE UNIQUE INDEX "configuracao_documento_escritorioId_key" ON "configuracao_documento"("escritorioId");