-- AlterTable
ALTER TABLE `transactionitem` ADD COLUMN `sizeId` VARCHAR(110) NULL;

-- CreateIndex
CREATE INDEX `transaction_items_size` ON `transactionitem`(`sizeId`);

-- AddForeignKey
ALTER TABLE `transactionitem` ADD CONSTRAINT `transaction_items_size` FOREIGN KEY (`sizeId`) REFERENCES `size`(`id`) ON DELETE SET NULL ON UPDATE RESTRICT;
