22 lines
1.1 KiB
SQL
22 lines
1.1 KiB
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the column `eventoCalendarioId` on the `processos` table. All the data in the column will be lost.
|
|
- You are about to drop the column `ultimaConsulta` on the `processos` table. All the data in the column will be lost.
|
|
- Made the column `natureza` on table `processos` required. This step will fail if there are existing NULL values in that column.
|
|
- Made the column `nomeContraparte` on table `processos` required. This step will fail if there are existing NULL values in that column.
|
|
- Made the column `orgaoJulgador` on table `processos` required. This step will fail if there are existing NULL values in that column.
|
|
- Made the column `tipoParteCliente` on table `processos` required. This step will fail if there are existing NULL values in that column.
|
|
|
|
*/
|
|
-- DropIndex
|
|
DROP INDEX "processos_orgaoJulgadorId_idx";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "processos" DROP COLUMN "eventoCalendarioId",
|
|
DROP COLUMN "ultimaConsulta",
|
|
ALTER COLUMN "natureza" SET NOT NULL,
|
|
ALTER COLUMN "nomeContraparte" SET NOT NULL,
|
|
ALTER COLUMN "orgaoJulgador" SET NOT NULL,
|
|
ALTER COLUMN "tipoParteCliente" SET NOT NULL;
|