alter table `orderitem`
  add column `originalRowId` varchar(10) NOT NULL DEFAULT '' after `visitId`;
CREATE INDEX `originalRowId` ON `orderitem`(`originalRowId`) USING BTREE ;
