Files
2025-04-10 23:07:21 -03:00

18 lines
642 B
SQL

/*
Warnings:
- Added the required column `tribunal` to the `Processo` table without a default value. This is not possible if the table is not empty.
- Added the required column `tribunalUF` to the `Processo` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "Processo" ADD COLUMN "numeroOriginal" VARCHAR(50),
ADD COLUMN "tribunal" VARCHAR(50) NOT NULL,
ADD COLUMN "tribunalUF" VARCHAR(20) NOT NULL;
-- CreateIndex
CREATE INDEX "Processo_tribunal_idx" ON "Processo"("tribunal");
-- CreateIndex
CREATE INDEX "Processo_tribunalUF_idx" ON "Processo"("tribunalUF");