Merge pull request 'feat: 常用指令数据表新增sort字段用于排序' (#8) from feature/ui into develop

Reviewed-on: #8
This commit is contained in:
admin 2025-06-11 00:31:20 -07:00
commit 2c2fc7dc2f

View File

@ -292,7 +292,9 @@ CREATE TABLE IF NOT EXISTS `devicecmd` (
`name` varchar(80) NOT NULL,
`type` smallint NOT NULL,
`content` varchar(800) NOT NULL,
PRIMARY KEY (`id`)
`sort` int DEFAULT 0,
PRIMARY KEY (`id`),
KEY `idx_devicecmd_sort` (`sort`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/***