diff --git a/sql/cloud_sample.sql b/sql/cloud_sample.sql index f644248..8c9fd26 100644 --- a/sql/cloud_sample.sql +++ b/sql/cloud_sample.sql @@ -23,9 +23,9 @@ CREATE TABLE `manage_device` ( `user_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', `nickname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', `workspace_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', - `device_type` smallint NOT NULL DEFAULT '-1', - `sub_type` smallint NOT NULL DEFAULT '-1', - `domain` smallint NOT NULL DEFAULT '-1', + `device_type` int NOT NULL DEFAULT '-1', + `sub_type` int NOT NULL DEFAULT '-1', + `domain` int NOT NULL DEFAULT '-1', `firmware_version` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', `version` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', `device_index` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '',