mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: add hysteria
This commit is contained in:
parent
969e8ec1e1
commit
fae83ab0e5
@ -195,6 +195,30 @@ CREATE TABLE `v2_server_group` (
|
|||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `v2_server_hysteria`;
|
||||||
|
CREATE TABLE `v2_server_hysteria` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`group_id` varchar(255) NOT NULL,
|
||||||
|
`route_id` varchar(255) DEFAULT NULL,
|
||||||
|
`name` varchar(255) NOT NULL,
|
||||||
|
`parent_id` int(11) DEFAULT NULL,
|
||||||
|
`host` varchar(255) NOT NULL,
|
||||||
|
`port` varchar(11) NOT NULL,
|
||||||
|
`server_port` int(11) NOT NULL,
|
||||||
|
`tags` varchar(255) DEFAULT NULL,
|
||||||
|
`rate` varchar(11) NOT NULL,
|
||||||
|
`show` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
|
`sort` int(11) DEFAULT NULL,
|
||||||
|
`up_mbps` int(11) NOT NULL,
|
||||||
|
`down_mbps` int(11) NOT NULL,
|
||||||
|
`server_name` varchar(64) DEFAULT NULL,
|
||||||
|
`insecure` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
|
`created_at` int(11) NOT NULL,
|
||||||
|
`updated_at` int(11) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `v2_server_route`;
|
DROP TABLE IF EXISTS `v2_server_route`;
|
||||||
CREATE TABLE `v2_server_route` (
|
CREATE TABLE `v2_server_route` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -398,4 +422,4 @@ CREATE TABLE `v2_user` (
|
|||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
||||||
-- 2023-03-07 13:10:15
|
-- 2023-03-08 06:17:49
|
||||||
|
@ -657,3 +657,26 @@ ALTER TABLE `v2_server_v2ray`
|
|||||||
|
|
||||||
ALTER TABLE `v2_server_vmess`
|
ALTER TABLE `v2_server_vmess`
|
||||||
CHANGE `network` `network` varchar(11) COLLATE 'utf8mb4_general_ci' NOT NULL AFTER `rate`;
|
CHANGE `network` `network` varchar(11) COLLATE 'utf8mb4_general_ci' NOT NULL AFTER `rate`;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `v2_server_hysteria`;
|
||||||
|
CREATE TABLE `v2_server_hysteria` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`group_id` varchar(255) NOT NULL,
|
||||||
|
`route_id` varchar(255) DEFAULT NULL,
|
||||||
|
`name` varchar(255) NOT NULL,
|
||||||
|
`parent_id` int(11) DEFAULT NULL,
|
||||||
|
`host` varchar(255) NOT NULL,
|
||||||
|
`port` varchar(11) NOT NULL,
|
||||||
|
`server_port` int(11) NOT NULL,
|
||||||
|
`tags` varchar(255) DEFAULT NULL,
|
||||||
|
`rate` varchar(11) NOT NULL,
|
||||||
|
`show` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
|
`sort` int(11) DEFAULT NULL,
|
||||||
|
`up_mbps` int(11) NOT NULL,
|
||||||
|
`down_mbps` int(11) NOT NULL,
|
||||||
|
`server_name` varchar(64) DEFAULT NULL,
|
||||||
|
`insecure` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
|
`created_at` int(11) NOT NULL,
|
||||||
|
`updated_at` int(11) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
Loading…
Reference in New Issue
Block a user