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,19 @@
/*
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");