-- AlterTable
ALTER TABLE "orders" ADD COLUMN     "addressId" INTEGER;

-- CreateIndex
CREATE INDEX "orders_addressId_idx" ON "orders"("addressId");

-- AddForeignKey
ALTER TABLE "orders" ADD CONSTRAINT "orders_addressId_fkey" FOREIGN KEY ("addressId") REFERENCES "addresses"("id") ON DELETE SET NULL ON UPDATE CASCADE;
