diff --git a/sql/wfc_user_db/wfc_user_db.sql b/sql/wfc_user_db/wfc_user_db.sql index a7e226d..8a97643 100644 --- a/sql/wfc_user_db/wfc_user_db.sql +++ b/sql/wfc_user_db/wfc_user_db.sql @@ -188,7 +188,6 @@ CREATE TABLE `u_cdr_history` ( `start_time` bigint(20) NULL DEFAULT NULL COMMENT 'Start time', `end_time` bigint(20) NULL DEFAULT NULL COMMENT 'End time', `duration` bigint(20) NULL DEFAULT NULL COMMENT 'Duration(s)', - `active` tinyint(1) DEFAULT NULL COMMENT 'Whether the client is online', `use_type` tinyint(4) DEFAULT NULL COMMENT 'use type', `use_id` bigint(20) DEFAULT NULL COMMENT 'use id', `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT 'delete flag', @@ -214,6 +213,7 @@ CREATE TABLE `u_client` ( `client_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Client Name', `client_device_type` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Client device type', `client_mac` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Client mac address', + `active` tinyint(1) DEFAULT NULL COMMENT 'Whether the client is online', `use_type` tinyint(4) DEFAULT NULL COMMENT 'use type', `use_id` bigint(20) DEFAULT NULL COMMENT 'use id', `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT 'delete flag',