/*
  Warnings:

  - You are about to alter the column `full_json` on the `RatesForQuuoteMe` table. The data in that column could be lost. The data in that column will be cast from `LongText` to `Json`.
  - You are about to alter the column `sent_data` on the `RatesForQuuoteMe` table. The data in that column could be lost. The data in that column will be cast from `LongText` to `Json`.
  - You are about to alter the column `price_breakup` on the `RatesForQuuoteMe` table. The data in that column could be lost. The data in that column will be cast from `LongText` to `Json`.
  - You are about to alter the column `quoterequest` on the `RatesForQuuoteMe` table. The data in that column could be lost. The data in that column will be cast from `LongText` to `Json`.
  - You are about to alter the column `platform_json` on the `RatesForQuuoteMe` table. The data in that column could be lost. The data in that column will be cast from `LongText` to `Json`.
  - Added the required column `companyId` to the `RateSetting` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE `Box` ADD COLUMN `dimensionUnit` VARCHAR(191) NULL,
    ADD COLUMN `weightUnit` VARCHAR(191) NULL;

-- AlterTable
ALTER TABLE `Product` ADD COLUMN `dimensionUnit` VARCHAR(191) NULL,
    ADD COLUMN `weightUnit` VARCHAR(191) NULL;

-- AlterTable
ALTER TABLE `RateSetting` ADD COLUMN `companyId` INTEGER NOT NULL;

-- AlterTable
ALTER TABLE `RatesForQuuoteMe` MODIFY `full_json` JSON NULL,
    MODIFY `sent_data` JSON NULL,
    MODIFY `price_breakup` JSON NULL,
    MODIFY `quoterequest` JSON NULL,
    MODIFY `platform_json` JSON NULL;
