mirror of
https://github.com/v2board/v2board.git
synced 2025-09-19 20:53:08 +08:00
测试:增加设备数限制功能
This commit is contained in:
@ -180,6 +180,7 @@ CREATE TABLE `v2_plan` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`group_id` int(11) NOT NULL,
|
||||
`transfer_enable` int(11) NOT NULL,
|
||||
`device_limit` int(11) DEFAULT NULL,
|
||||
`name` varchar(255) NOT NULL,
|
||||
`speed_limit` int(11) DEFAULT NULL,
|
||||
`show` tinyint(1) NOT NULL DEFAULT '0',
|
||||
@ -451,6 +452,7 @@ CREATE TABLE `v2_user` (
|
||||
`u` bigint(20) NOT NULL DEFAULT '0',
|
||||
`d` bigint(20) NOT NULL DEFAULT '0',
|
||||
`transfer_enable` bigint(20) NOT NULL DEFAULT '0',
|
||||
`device_limit` int(11) DEFAULT NULL,
|
||||
`banned` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`is_admin` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`last_login_at` int(11) DEFAULT NULL,
|
||||
|
Reference in New Issue
Block a user