/*
  Warnings:

  - You are about to drop the column `itemPriceAt` on the `TransactionItem` table. All the data in the column will be lost.
  - You are about to drop the column `karatPercent` on the `TransactionItem` table. All the data in the column will be lost.
  - You are about to drop the column `totalGrossWeight` on the `TransactionItem` table. All the data in the column will be lost.
  - Added the required column `grossWeight` to the `TransactionItem` table without a default value. This is not possible if the table is not empty.
  - Added the required column `pricePerGramAt` to the `TransactionItem` table without a default value. This is not possible if the table is not empty.
  - Added the required column `purityPercent` to the `TransactionItem` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE "TransactionItem" DROP COLUMN "itemPriceAt",
DROP COLUMN "karatPercent",
DROP COLUMN "totalGrossWeight",
ADD COLUMN     "grossWeight" DECIMAL(18,3) NOT NULL,
ADD COLUMN     "item_carat_id" TEXT,
ADD COLUMN     "pricePerGramAt" TIMESTAMP(3) NOT NULL,
ADD COLUMN     "purityPercent" DECIMAL(5,2) NOT NULL;
