-- DropForeignKey
ALTER TABLE "MemberPaycheck" DROP CONSTRAINT "MemberPaycheck_payrollProviderId_fkey";

-- AlterTable
ALTER TABLE "MemberPaycheck" ALTER COLUMN "payrollProviderId" DROP NOT NULL;

-- AddForeignKey
ALTER TABLE "MemberPaycheck" ADD CONSTRAINT "MemberPaycheck_payrollProviderId_fkey" FOREIGN KEY ("payrollProviderId") REFERENCES "PayrollProvider"("id") ON DELETE SET NULL ON UPDATE CASCADE;
