14 lines
465 B
SQL
14 lines
465 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the column `userNickname` on the `Session` table. All the data in the column will be lost.
|
|
- Added the required column `nickname` to the `Session` table without a default value. This is not possible if the table is not empty.
|
|
|
|
*/
|
|
-- DropForeignKey
|
|
ALTER TABLE "Session" DROP CONSTRAINT "Session_userNickname_fkey";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "Session" DROP COLUMN "userNickname",
|
|
ADD COLUMN "nickname" TEXT NOT NULL;
|