All checks were successful
PR Build Check / build (pull_request) Successful in 2m11s
15 lines
641 B
SQL
15 lines
641 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the column `name` on the `User` table. All the data in the column will be lost.
|
|
- You are about to drop the column `passwordHash` on the `User` table. All the data in the column will be lost.
|
|
- You are about to drop the column `updatedAt` on the `User` table. All the data in the column will be lost.
|
|
- Added the required column `password` to the `User` table without a default value. This is not possible if the table is not empty.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "public"."User" DROP COLUMN "name",
|
|
DROP COLUMN "passwordHash",
|
|
DROP COLUMN "updatedAt",
|
|
ADD COLUMN "password" TEXT NOT NULL;
|