2
0

fix: 修改sql

This commit is contained in:
caiyuchao
2025-02-28 17:13:29 +08:00
parent bbeb3e4ff7
commit 20eca448a4

View File

@@ -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',