mirror of
https://github.com/Since-3/Kuma.git
synced 2026-10-12 20:51:18 +00:00
15 lines
620 B
SQL
15 lines
620 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the column `guestEmail` on the `CourseWaitlistEntry` table. All the data in the column will be lost.
|
|
- You are about to drop the column `guestName` on the `CourseWaitlistEntry` table. All the data in the column will be lost.
|
|
- Made the column `userId` on table `CourseWaitlistEntry` required. This step will fail if there are existing NULL values in that column.
|
|
|
|
*/
|
|
-- DropIndex
|
|
DROP INDEX "CourseWaitlistEntry_courseId_guestEmail_key";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "CourseWaitlistEntry" DROP COLUMN "guestEmail",
|
|
DROP COLUMN "guestName",
|
|
ALTER COLUMN "userId" SET NOT NULL;
|