Files
2025-11-06 16:40:32 +03:00

15 lines
628 B
SQL

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