CREATE TABLE `invoiceLearnings` (
	`id` int AUTO_INCREMENT NOT NULL,
	`userId` int NOT NULL,
	`supplierKey` varchar(255) NOT NULL,
	`fieldName` varchar(100) NOT NULL,
	`originalValue` varchar(255),
	`correctedValue` varchar(255) NOT NULL,
	`applyCount` int NOT NULL DEFAULT 1,
	`createdAt` timestamp NOT NULL DEFAULT (now()),
	`updatedAt` timestamp NOT NULL DEFAULT (now()) ON UPDATE CURRENT_TIMESTAMP,
	CONSTRAINT `invoiceLearnings_id` PRIMARY KEY(`id`)
);
