diff --git a/internal/setup/sql.json b/internal/setup/sql.json index 0300c176..e87fd9bd 100644 --- a/internal/setup/sql.json +++ b/internal/setup/sql.json @@ -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": [