mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
新增监控日志
This commit is contained in:
12
sop.sql
12
sop.sql
@@ -12,6 +12,7 @@ DROP TABLE IF EXISTS `config_route_limit`;
|
||||
DROP TABLE IF EXISTS `config_route_base`;
|
||||
DROP TABLE IF EXISTS `config_limit`;
|
||||
DROP TABLE IF EXISTS `admin_user_info`;
|
||||
DROP TABLE IF EXISTS `config_common`;
|
||||
|
||||
|
||||
CREATE TABLE `admin_user_info` (
|
||||
@@ -134,6 +135,17 @@ CREATE TABLE `user_info` (
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='用户信息表';
|
||||
|
||||
|
||||
CREATE TABLE `config_common` (
|
||||
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`config_group` varchar(64) NOT NULL DEFAULT '' COMMENT '配置分组',
|
||||
`config_key` varchar(64) NOT NULL DEFAULT '' COMMENT '配置key',
|
||||
`content` varchar(128) NOT NULL DEFAULT '' COMMENT '内容',
|
||||
`remark` varchar(128) DEFAULT NULL COMMENT '备注',
|
||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `uk_groupkey` (`config_group`,`config_key`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='通用配置表';
|
||||
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = @PREVIOUS_FOREIGN_KEY_CHECKS;
|
||||
|
Reference in New Issue
Block a user