migration.sql
migration.sql
/*
Warnings:
- You are about to drop the column `title` on the `Post` table. All the data in the column will be lost.
- Added the required column `name` to the `Post` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "Post" DROP COLUMN "title",
ADD COLUMN "name" TEXT NOT NULL;