2023-09-12 18:01:24 +08:00
|
|
|
ALTER TABLE `chatgpt_mj_jobs` DROP `image`;
|
2023-09-13 06:57:25 +08:00
|
|
|
ALTER TABLE `chatgpt_mj_jobs` DROP `hash`;
|
|
|
|
ALTER TABLE `chatgpt_mj_jobs` DROP `content`;
|
|
|
|
ALTER TABLE `chatgpt_mj_jobs` DROP `chat_id`;
|
2023-09-12 18:01:24 +08:00
|
|
|
ALTER TABLE `chatgpt_mj_jobs` ADD `progress` SMALLINT(5) NULL DEFAULT '0' COMMENT '任务进度' AFTER `prompt`;
|
|
|
|
ALTER TABLE `chatgpt_mj_jobs` ADD `hash` VARCHAR(100) NULL DEFAULT NULL COMMENT 'message hash' AFTER `prompt`;
|
2023-09-15 17:40:39 +08:00
|
|
|
ALTER TABLE `chatgpt_mj_jobs` ADD `img_url` VARCHAR(255) NULL DEFAULT NULL COMMENT '图片URL' AFTER `prompt`;
|
|
|
|
|
|
|
|
-- 2023-09-15
|
2023-09-17 18:03:45 +08:00
|
|
|
ALTER TABLE `chatgpt_mj_jobs` ADD `type` VARCHAR(20) NULL DEFAULT 'image' COMMENT '任务类别' AFTER `user_id`;
|
|
|
|
ALTER TABLE `chatgpt_mj_jobs` DROP INDEX `message_id`;
|
|
|
|
ALTER TABLE `chatgpt_mj_jobs` ADD INDEX(`message_id`);
|