-- CreateTable
CREATE TABLE "centuries" (
    "id" SERIAL NOT NULL,
    "selected" INTEGER[],
    "studentId" INTEGER NOT NULL,
    "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,

    CONSTRAINT "centuries_pkey" PRIMARY KEY ("id")
);

-- AddForeignKey
ALTER TABLE "centuries" ADD CONSTRAINT "centuries_studentId_fkey" FOREIGN KEY ("studentId") REFERENCES "students"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
