/*
  Warnings:

  - You are about to drop the column `offerTitle` on the `templateProduct` table. All the data in the column will be lost.
  - You are about to drop the column `productType` on the `templateProduct` table. All the data in the column will be lost.
  - You are about to drop the `offer_products` table. If the table is not empty, all the data it contains will be lost.
  - Added the required column `productType` to the `products` table without a default value. This is not possible if the table is not empty.

*/
-- DropForeignKey
ALTER TABLE "offer_products" DROP CONSTRAINT "offer_products_organizationId_fkey";

-- AlterTable
ALTER TABLE "products" ADD COLUMN     "offerTitle" TEXT,
ADD COLUMN     "productType" "ProductType" NOT NULL;

-- AlterTable
ALTER TABLE "templateProduct" DROP COLUMN "offerTitle",
DROP COLUMN "productType";

-- DropTable
DROP TABLE "offer_products";
