更新数据库

This commit is contained in:
GoEdgeLab
2023-10-30 19:04:23 +08:00
parent 6be08af2e8
commit 2ec06e3cb3

View File

@@ -102087,7 +102087,7 @@
"name": "edgeHTTPAccessLogPolicies", "name": "edgeHTTPAccessLogPolicies",
"engine": "InnoDB", "engine": "InnoDB",
"charset": "utf8mb4_general_ci", "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": [ "fields": [
{ {
"name": "id", "name": "id",
@@ -102144,6 +102144,10 @@
{ {
"name": "version", "name": "version",
"definition": "int(10) unsigned DEFAULT '0' COMMENT '版本号'" "definition": "int(10) unsigned DEFAULT '0' COMMENT '版本号'"
},
{
"name": "disableDefaultDB",
"definition": "tinyint(1) unsigned DEFAULT '0' COMMENT '是否停止默认数据库存储'"
} }
], ],
"indexes": [ "indexes": [