-- CreateTable
CREATE TABLE "notifications"(
    "id" serial NOT NULL,
    "read" boolean NOT NULL DEFAULT FALSE,
    "user_id" text NOT NULL,
    "content" json NOT NULL,
    CONSTRAINT "notifications_pkey" PRIMARY KEY ("id")
);

-- AddForeignKey
ALTER TABLE "notifications"
    ADD CONSTRAINT "notifications_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "user"("id") ON DELETE RESTRICT ON UPDATE CASCADE;

