/*
  Warnings:

  - You are about to drop the column `addressId` on the `Vendor` table. All the data in the column will be lost.
  - Added the required column `address` to the `Vendor` table without a default value. This is not possible if the table is not empty.
  - Added the required column `city` to the `Vendor` table without a default value. This is not possible if the table is not empty.
  - Added the required column `postalCode` to the `Vendor` table without a default value. This is not possible if the table is not empty.
  - Added the required column `state` to the `Vendor` table without a default value. This is not possible if the table is not empty.

*/
-- DropForeignKey
ALTER TABLE "Vendor" DROP CONSTRAINT "Vendor_addressId_fkey";

-- AlterTable
ALTER TABLE "Vendor" DROP COLUMN "addressId",
ADD COLUMN     "address" TEXT NOT NULL,
ADD COLUMN     "city" TEXT NOT NULL,
ADD COLUMN     "country" TEXT NOT NULL DEFAULT 'United States',
ADD COLUMN     "postalCode" TEXT NOT NULL,
ADD COLUMN     "state" TEXT NOT NULL;
