/*
  Warnings:

  - Added the required column `questionBankId` to the `event_questions` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE "event_questions" ADD COLUMN     "questionBankId" INTEGER NOT NULL;

-- AddForeignKey
ALTER TABLE "event_questions" ADD CONSTRAINT "event_questions_questionBankId_fkey" FOREIGN KEY ("questionBankId") REFERENCES "question_banks"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
