debug
This commit is contained in:
@@ -179,6 +179,40 @@ CREATE TABLE `plan_task` (
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `server_node`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `server_node`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `server_node` (
|
||||
`sn_id` int unsigned NOT NULL AUTO_INCREMENT,
|
||||
`sn_name` varchar(255) NOT NULL DEFAULT '' COMMENT '节点名称',
|
||||
`sn_code` varchar(100) DEFAULT NULL COMMENT '节点编码',
|
||||
`sn_host` varchar(255) NOT NULL DEFAULT '' COMMENT 'SSH 主机/IP',
|
||||
`sn_port` smallint unsigned NOT NULL DEFAULT '22' COMMENT 'SSH 端口',
|
||||
`sn_username` varchar(100) NOT NULL DEFAULT '' COMMENT 'SSH 用户名',
|
||||
`sn_auth_type` varchar(20) NOT NULL DEFAULT 'password' COMMENT '认证方式: password/private_key',
|
||||
`sn_password` text COMMENT 'SSH 密码',
|
||||
`sn_private_key` mediumtext COMMENT 'SSH 私钥',
|
||||
`sn_passphrase` text COMMENT '私钥口令',
|
||||
`sn_region` varchar(100) DEFAULT NULL COMMENT '区域/环境',
|
||||
`sn_purpose` varchar(255) DEFAULT NULL COMMENT '机器用途',
|
||||
`sn_project_dir` varchar(500) DEFAULT NULL COMMENT '项目目录',
|
||||
`sn_log_dir` varchar(500) DEFAULT NULL COMMENT '日志目录',
|
||||
`sn_nginx_dir` varchar(500) DEFAULT NULL COMMENT 'Nginx 配置目录',
|
||||
`sn_note` text COMMENT '备注',
|
||||
`sn_status` tinyint unsigned NOT NULL DEFAULT '1' COMMENT '状态:1启用,0禁用',
|
||||
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`sn_id`) USING BTREE,
|
||||
UNIQUE KEY `sn_code` (`sn_code`) USING BTREE,
|
||||
KEY `sn_status` (`sn_status`) USING BTREE,
|
||||
KEY `sn_host` (`sn_host`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC COMMENT='前端服务器节点';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `subject_fomart`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user