2023-12-29 17:39:37 +08:00
|
|
|
|
ALTER TABLE `chatgpt_users` ADD `nickname` VARCHAR(30) NOT NULL COMMENT '昵称' AFTER `mobile`;
|
2024-01-03 11:15:54 +08:00
|
|
|
|
ALTER TABLE `chatgpt_rewards` ADD `exchange` VARCHAR(255) NOT NULL COMMENT '兑换详情(json)' AFTER `status`;
|
2024-01-03 18:06:10 +08:00
|
|
|
|
ALTER TABLE `chatgpt_api_keys` ADD `api_url` VARCHAR(255) NULL COMMENT 'API 地址' AFTER `last_used_at`, ADD `enabled` TINYINT(1) NULL COMMENT '是否启用' AFTER `api_url`;
|
|
|
|
|
ALTER TABLE `chatgpt_api_keys` DROP INDEX `value`;
|
2024-01-04 10:48:04 +08:00
|
|
|
|
ALTER TABLE `chatgpt_mj_jobs` ADD UNIQUE(`task_id`);
|
2024-01-04 16:29:57 +08:00
|
|
|
|
ALTER TABLE `chatgpt_api_keys` ADD `use_proxy` TINYINT(1) NULL COMMENT '是否使用代理访问' AFTER `enabled`;
|
2024-01-04 18:15:00 +08:00
|
|
|
|
ALTER TABLE `chatgpt_api_keys` ADD `name` VARCHAR(30) NULL COMMENT '名称' AFTER `platform`;
|
2024-01-05 18:17:11 +08:00
|
|
|
|
ALTER TABLE `chatgpt_users` CHANGE `mobile` `username` VARCHAR(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户名';
|