DROP TABLE IF EXISTS `chatgpt`;
CREATE TABLE `chatgpt` (
                           `id` int NOT NULL AUTO_INCREMENT,
                           `userId` int DEFAULT NULL,
                           `shopId` int DEFAULT NULL,
                           `prompt` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
                           `question` longtext CHARACTER SET utf8mb3 COLLATE utf8_general_ci,
                           `questionOriginal` longtext CHARACTER SET utf8mb3 COLLATE utf8_general_ci,
                           `model` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
                           `temperature` int DEFAULT NULL,
                           `maxToken` int DEFAULT NULL,
                           `image` text CHARACTER SET ascii,
                           `imageSize` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
                           `numberOfImages` int DEFAULT NULL,
                           `questionDate` datetime DEFAULT NULL,
                           `insertDate` datetime DEFAULT NULL,
                           UNIQUE KEY `chatgpt_pk` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3;