/*
  Warnings:

  - You are about to drop the column `layoutId` on the `organizations` table. All the data in the column will be lost.
  - You are about to drop the column `vatAmount` on the `organizations` table. All the data in the column will be lost.
  - You are about to drop the `Layout` table. If the table is not empty, all the data it contains will be lost.
  - You are about to drop the `organization_social_details` table. If the table is not empty, all the data it contains will be lost.
  - Added the required column `social_detatils` to the `organizations` table without a default value. This is not possible if the table is not empty.

*/
-- DropForeignKey
ALTER TABLE "organization_social_details" DROP CONSTRAINT "organization_social_details_organizationId_fkey";

-- DropForeignKey
ALTER TABLE "organizations" DROP CONSTRAINT "organizations_layoutId_fkey";

-- AlterTable
ALTER TABLE "organizations" DROP COLUMN "layoutId",
DROP COLUMN "vatAmount",
ADD COLUMN     "social_detatils" TEXT NOT NULL;

-- DropTable
DROP TABLE "Layout";

-- DropTable
DROP TABLE "organization_social_details";
