mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	Update sql.json
This commit is contained in:
		@@ -62117,7 +62117,7 @@
 | 
			
		||||
      "name": "edgeHTTPWebsockets",
 | 
			
		||||
      "engine": "InnoDB",
 | 
			
		||||
      "charset": "utf8mb4_general_ci",
 | 
			
		||||
      "definition": "CREATE TABLE `edgeHTTPWebsockets` (\n  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',\n  `adminId` int(11) unsigned DEFAULT '0' COMMENT '管理员ID',\n  `userId` int(11) unsigned DEFAULT '0' COMMENT '用户ID',\n  `createdAt` bigint(11) unsigned DEFAULT '0' COMMENT '创建时间',\n  `state` tinyint(1) unsigned DEFAULT '1' COMMENT '状态',\n  `isOn` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启用',\n  `handshakeTimeout` json DEFAULT NULL COMMENT '握手超时时间',\n  `allowAllOrigins` tinyint(1) unsigned DEFAULT '1' COMMENT '是否支持所有源',\n  `allowedOrigins` json DEFAULT NULL COMMENT '支持的源域名列表',\n  `requestSameOrigin` tinyint(1) unsigned DEFAULT '1' COMMENT '是否请求一样的Origin',\n  `requestOrigin` varchar(255) DEFAULT NULL COMMENT '请求Origin',\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Websocket设置'",
 | 
			
		||||
      "definition": "CREATE TABLE `edgeHTTPWebsockets` (\n  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',\n  `adminId` int(11) unsigned DEFAULT '0' COMMENT '管理员ID',\n  `userId` int(11) unsigned DEFAULT '0' COMMENT '用户ID',\n  `createdAt` bigint(11) unsigned DEFAULT '0' COMMENT '创建时间',\n  `state` tinyint(1) unsigned DEFAULT '1' COMMENT '状态',\n  `isOn` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启用',\n  `handshakeTimeout` json DEFAULT NULL COMMENT '握手超时时间',\n  `allowAllOrigins` tinyint(1) unsigned DEFAULT '1' COMMENT '是否支持所有源',\n  `allowedOrigins` json DEFAULT NULL COMMENT '支持的源域名列表',\n  `requestSameOrigin` tinyint(1) unsigned DEFAULT '1' COMMENT '是否请求一样的Origin',\n  `requestOrigin` varchar(255) DEFAULT NULL COMMENT '请求Origin',\n  `webId` bigint(11) unsigned DEFAULT '0' COMMENT 'Web',\n  PRIMARY KEY (`id`),\n  KEY `webId` (`webId`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Websocket设置'",
 | 
			
		||||
      "fields": [
 | 
			
		||||
        {
 | 
			
		||||
          "name": "id",
 | 
			
		||||
@@ -62162,12 +62162,20 @@
 | 
			
		||||
        {
 | 
			
		||||
          "name": "requestOrigin",
 | 
			
		||||
          "definition": "varchar(255) COMMENT '请求Origin'"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "name": "webId",
 | 
			
		||||
          "definition": "bigint(11) unsigned DEFAULT '0' COMMENT 'Web'"
 | 
			
		||||
        }
 | 
			
		||||
      ],
 | 
			
		||||
      "indexes": [
 | 
			
		||||
        {
 | 
			
		||||
          "name": "PRIMARY",
 | 
			
		||||
          "definition": "UNIQUE KEY `PRIMARY` (`id`) USING BTREE"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "name": "webId",
 | 
			
		||||
          "definition": "KEY `webId` (`webId`) USING BTREE"
 | 
			
		||||
        }
 | 
			
		||||
      ],
 | 
			
		||||
      "records": []
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user