-- DropForeignKey
ALTER TABLE "Backlink" DROP CONSTRAINT "Backlink_uploaded_by_id_fkey";

-- AlterTable
ALTER TABLE "Backlink" ALTER COLUMN "uploaded_by_id" DROP NOT NULL;

-- AddForeignKey
ALTER TABLE "Backlink" ADD CONSTRAINT "Backlink_uploaded_by_id_fkey" FOREIGN KEY ("uploaded_by_id") REFERENCES "User"("id") ON DELETE SET NULL ON UPDATE CASCADE;
