-- AlterTable
ALTER TABLE "expenses" ADD COLUMN     "walletId" INTEGER;

-- CreateIndex
CREATE INDEX "expenses_walletId_idx" ON "expenses"("walletId");

-- AddForeignKey
ALTER TABLE "expenses" ADD CONSTRAINT "expenses_walletId_fkey" FOREIGN KEY ("walletId") REFERENCES "wallets"("id") ON DELETE SET NULL ON UPDATE CASCADE;
