From 9a4904ad66ee69b20d87830fa9795c7eb684627c Mon Sep 17 00:00:00 2001 From: caiyuchao Date: Thu, 27 Feb 2025 18:38:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9ddl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/upgrade/1.0.10/upgrade.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/upgrade/1.0.10/upgrade.sql b/sql/upgrade/1.0.10/upgrade.sql index d8bb285..c2dbaa9 100644 --- a/sql/upgrade/1.0.10/upgrade.sql +++ b/sql/upgrade/1.0.10/upgrade.sql @@ -3,11 +3,11 @@ SET FOREIGN_KEY_CHECKS = 0; ALTER TABLE `wfc_user_db`.`u_cdr_history` ADD COLUMN `use_type` tinyint(4) NULL COMMENT 'use id' AFTER `duration`, -ADD COLUMN `use_id` bigint(20) NULL COMMENT 'use type' AFTER `use_type` +ADD COLUMN `use_id` bigint(20) NULL COMMENT 'use type' AFTER `use_type`; ALTER TABLE `wfc_user_db`.`u_client` ADD COLUMN `active` tinyint(1) NULL COMMENT 'Whether the client is online' AFTER `client_mac`, ADD COLUMN `use_type` tinyint(4) NULL COMMENT 'use type' AFTER `active`, -ADD COLUMN `use_id` bigint(20) NULL COMMENT 'use id' AFTER `use_type` +ADD COLUMN `use_id` bigint(20) NULL COMMENT 'use id' AFTER `use_type`; SET FOREIGN_KEY_CHECKS = 1;