-- Adminer 4.7.3 MySQL dump SET NAMES utf8; SET time_zone = '+00:00'; SET foreign_key_checks = 0; SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; SET NAMES utf8mb4; DROP TABLE IF EXISTS `failed_jobs`; CREATE TABLE `failed_jobs` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; DROP TABLE IF EXISTS `v2_coupon`; CREATE TABLE `v2_coupon` ( `id` int(11) NOT NULL AUTO_INCREMENT, `code` char(8) NOT NULL, `name` varchar(255) CHARACTER SET utf8mb4 NOT NULL, `type` tinyint(1) NOT NULL, `value` int(11) NOT NULL, `limit_use` int(11) DEFAULT NULL, `started_at` int(11) NOT NULL, `ended_at` int(11) NOT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_invite_code`; CREATE TABLE `v2_invite_code` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `code` char(32) NOT NULL, `status` tinyint(1) NOT NULL DEFAULT '0', `pv` int(11) NOT NULL DEFAULT '0', `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_mail_log`; CREATE TABLE `v2_mail_log` ( `id` int(11) NOT NULL AUTO_INCREMENT, `email` varchar(64) NOT NULL, `subject` varchar(255) NOT NULL, `template_name` varchar(255) NOT NULL, `error` varchar(255) DEFAULT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_notice`; CREATE TABLE `v2_notice` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `content` text NOT NULL, `img_url` varchar(255) DEFAULT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_order`; CREATE TABLE `v2_order` ( `id` int(11) NOT NULL AUTO_INCREMENT, `invite_user_id` int(11) DEFAULT NULL, `user_id` int(11) NOT NULL, `plan_id` int(11) NOT NULL, `type` int(11) NOT NULL COMMENT '1新购2续费3升级', `cycle` varchar(255) NOT NULL, `trade_no` varchar(36) NOT NULL, `callback_no` varchar(255) DEFAULT NULL, `total_amount` int(11) NOT NULL, `discount_amount` int(11) DEFAULT NULL, `surplus_amount` int(11) DEFAULT NULL COMMENT '剩余价值', `refund_amount` int(11) DEFAULT NULL COMMENT '退款金额', `balance_amount` int(11) DEFAULT NULL COMMENT '使用余额', `status` tinyint(1) NOT NULL DEFAULT '0', `commission_status` tinyint(1) NOT NULL DEFAULT '0', `commission_balance` int(11) NOT NULL DEFAULT '0', `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_plan`; CREATE TABLE `v2_plan` ( `id` int(11) NOT NULL AUTO_INCREMENT, `group_id` int(11) NOT NULL, `transfer_enable` int(11) NOT NULL, `name` varchar(255) NOT NULL, `show` tinyint(1) NOT NULL DEFAULT '0', `renew` tinyint(1) NOT NULL DEFAULT '1', `content` text, `month_price` int(11) DEFAULT '0', `quarter_price` int(11) DEFAULT '0', `half_year_price` int(11) DEFAULT '0', `year_price` int(11) DEFAULT '0', `onetime_price` int(11) DEFAULT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_server`; CREATE TABLE `v2_server` ( `id` int(11) NOT NULL AUTO_INCREMENT, `group_id` varchar(255) NOT NULL, `name` varchar(255) CHARACTER SET utf8mb4 NOT NULL, `parent_id` int(11) DEFAULT NULL, `host` varchar(255) NOT NULL, `port` int(11) NOT NULL, `server_port` int(11) NOT NULL, `tls` tinyint(4) NOT NULL DEFAULT '0', `tags` varchar(255) DEFAULT NULL, `rate` varchar(11) NOT NULL, `network` text NOT NULL, `settings` text, `rules` text, `networkSettings` text, `tlsSettings` text, `ruleSettings` text, `dnsSettings` text, `show` 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=utf8; DROP TABLE IF EXISTS `v2_server_group`; CREATE TABLE `v2_server_group` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_server_log`; CREATE TABLE `v2_server_log` ( `user_id` int(11) NOT NULL, `server_id` int(11) NOT NULL, `u` varchar(255) NOT NULL, `d` varchar(255) NOT NULL, `rate` decimal(10,2) NOT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_ticket`; CREATE TABLE `v2_ticket` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `last_reply_user_id` int(11) NOT NULL, `subject` varchar(255) NOT NULL, `level` tinyint(1) NOT NULL, `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0:已开启 1:已关闭', `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_ticket_message`; CREATE TABLE `v2_ticket_message` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `ticket_id` int(11) NOT NULL, `message` varchar(255) NOT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `v2_tutorial`; CREATE TABLE `v2_tutorial` ( `id` int(11) NOT NULL AUTO_INCREMENT, `category_id` int(11) NOT NULL, `title` varchar(255) CHARACTER SET utf8mb4 NOT NULL, `steps` text, `show` 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=utf8; INSERT INTO `v2_tutorial` (`id`, `category_id`, `title`, `steps`, `show`, `created_at`, `updated_at`) VALUES (1, 1, 'V2rayN', '[{\"default_area\":\"
{{$app_name}}
{{$subscribe_url}}
{{$app_name}}
{{$subscribe_url}}
{{$subscribe_url}}
{{$app_name}}
{{$apple_id}}
点击复制密码