/* Warnings: - You are about to drop the column `court_notes` on the `docket_entries` table. All the data in the column will be lost. - You are about to drop the column `document_type` on the `docket_entries` table. All the data in the column will be lost. - You are about to drop the column `is_primary` on the `documents` table. All the data in the column will be lost. - Added the required column `title` to the `docket_entries` table without a default value. This is not possible if the table is not empty. - Added the required column `mime_type` to the `documents` table without a default value. This is not possible if the table is not empty. */ -- AlterTable ALTER TABLE "docket_entries" DROP COLUMN "court_notes", DROP COLUMN "document_type", ADD COLUMN "notes" TEXT, ADD COLUMN "title" VARCHAR(500) NOT NULL; -- AlterTable ALTER TABLE "documents" DROP COLUMN "is_primary", ADD COLUMN "mime_type" VARCHAR(100) NOT NULL, ALTER COLUMN "title" SET DATA TYPE VARCHAR(500);