ToDo/prisma/migrations/20251025074624_added_topic/migration.sql

11 lines
397 B
SQL

/*
Warnings:
- You are about to drop the column `content` on the `Task` table. All the data in the column will be lost.
- Added the required column `topic` to the `Task` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "public"."Task" RENAME COLUMN "content" TO "topic";
ALTER TABLE "public"."Task" ADD COLUMN "description" TEXT;