ALTER TABLE "LessonComment" ADD COLUMN "parentId" TEXT;

ALTER TABLE "LessonComment" ADD CONSTRAINT "LessonComment_parentId_fkey"
  FOREIGN KEY ("parentId") REFERENCES "LessonComment"("id") ON DELETE SET NULL ON UPDATE CASCADE;
