Files
ProxyPanel/sql/update/20190129.sql
兔姬桑 a0922521cf 初始化
2020-08-05 03:19:28 +08:00

13 lines
718 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 加入订阅设备表
CREATE TABLE `device` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`type` TINYINT(4) NOT NULL DEFAULT '1' COMMENT '类型0-兼容、1-ShadowsocksR、2-V2Ray',
`platform` TINYINT(4) NOT NULL DEFAULT '1' COMMENT '所属平台0-其他、1-iOS、2-Android、3-Mac、4-Windows、5-Linux',
`name` VARCHAR(50) NOT NULL COMMENT '设备名称',
`status` TINYINT(4) NOT NULL DEFAULT '1' COMMENT '状态0-禁止订阅、1-允许订阅',
PRIMARY KEY (`id`)
) COMMENT='设备型号表' ENGINE=MyISAM;
INSERT INTO `device` VALUES ('1', '1', '1', 'Quantumult', 1);
INSERT INTO `device` VALUES ('2', '1', '1', 'Shadowrocket', 1);
INSERT INTO `device` VALUES ('3', '1', '3', 'ShadowsocksX-NG-R', 1);