mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	更新数据库
This commit is contained in:
		@@ -102087,7 +102087,7 @@
 | 
			
		||||
      "name": "edgeHTTPAccessLogPolicies",
 | 
			
		||||
      "engine": "InnoDB",
 | 
			
		||||
      "charset": "utf8mb4_general_ci",
 | 
			
		||||
      "definition": "CREATE TABLE `edgeHTTPAccessLogPolicies` (\n  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',\n  `templateId` int(11) unsigned DEFAULT '0' COMMENT '模版ID',\n  `adminId` int(11) unsigned DEFAULT '0' COMMENT '管理员ID',\n  `userId` int(11) unsigned DEFAULT '0' COMMENT '用户ID',\n  `state` tinyint(1) unsigned DEFAULT '1' COMMENT '状态',\n  `createdAt` bigint(11) unsigned DEFAULT '0' COMMENT '创建时间',\n  `name` varchar(255) DEFAULT NULL COMMENT '名称',\n  `isOn` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启用',\n  `type` varchar(255) DEFAULT NULL COMMENT '存储类型',\n  `options` json DEFAULT NULL COMMENT '存储选项',\n  `conds` json DEFAULT NULL COMMENT '请求条件',\n  `isPublic` tinyint(1) unsigned DEFAULT '0' COMMENT '是否为公用',\n  `firewallOnly` tinyint(1) unsigned DEFAULT '0' COMMENT '是否只记录防火墙相关',\n  `version` int(10) unsigned DEFAULT '0' COMMENT '版本号',\n  PRIMARY KEY (`id`),\n  KEY `isPublic` (`isPublic`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='访问日志策略'",
 | 
			
		||||
      "definition": "CREATE TABLE `edgeHTTPAccessLogPolicies` (\n  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',\n  `templateId` int(11) unsigned DEFAULT '0' COMMENT '模版ID',\n  `adminId` int(11) unsigned DEFAULT '0' COMMENT '管理员ID',\n  `userId` int(11) unsigned DEFAULT '0' COMMENT '用户ID',\n  `state` tinyint(1) unsigned DEFAULT '1' COMMENT '状态',\n  `createdAt` bigint(11) unsigned DEFAULT '0' COMMENT '创建时间',\n  `name` varchar(255) DEFAULT NULL COMMENT '名称',\n  `isOn` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启用',\n  `type` varchar(255) DEFAULT NULL COMMENT '存储类型',\n  `options` json DEFAULT NULL COMMENT '存储选项',\n  `conds` json DEFAULT NULL COMMENT '请求条件',\n  `isPublic` tinyint(1) unsigned DEFAULT '0' COMMENT '是否为公用',\n  `firewallOnly` tinyint(1) unsigned DEFAULT '0' COMMENT '是否只记录防火墙相关',\n  `version` int(10) unsigned DEFAULT '0' COMMENT '版本号',\n  `disableDefaultDB` tinyint(1) unsigned DEFAULT '0' COMMENT '是否停止默认数据库存储',\n  PRIMARY KEY (`id`),\n  KEY `isPublic` (`isPublic`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='访问日志策略'",
 | 
			
		||||
      "fields": [
 | 
			
		||||
        {
 | 
			
		||||
          "name": "id",
 | 
			
		||||
@@ -102144,6 +102144,10 @@
 | 
			
		||||
        {
 | 
			
		||||
          "name": "version",
 | 
			
		||||
          "definition": "int(10) unsigned DEFAULT '0' COMMENT '版本号'"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "name": "disableDefaultDB",
 | 
			
		||||
          "definition": "tinyint(1) unsigned DEFAULT '0' COMMENT '是否停止默认数据库存储'"
 | 
			
		||||
        }
 | 
			
		||||
      ],
 | 
			
		||||
      "indexes": [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user