16 lines
429 B
SQL
16 lines
429 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the `UserLoginLinks` table. If the table is not empty, all the data it contains will be lost.
|
|
|
|
*/
|
|
-- DropForeignKey
|
|
ALTER TABLE "public"."UserLoginLinks" DROP CONSTRAINT "UserLoginLinks_userId_fkey";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "public"."User" ADD COLUMN "password" TEXT NOT NULL DEFAULT '',
|
|
ALTER COLUMN "role" SET DEFAULT 'USER';
|
|
|
|
-- DropTable
|
|
DROP TABLE "public"."UserLoginLinks";
|