add: all sql script from db

This commit is contained in:
simonzhangsz committed 2024-03-06 18:19:58 +08:00
1 parent c0f115d97d
commit dcd810b20d
123 files changed
+6332 -7

No files matched your search

+67
View File
@@ -0,0 +1,67 @@
-- MariaDB dump 10.19 Distrib 10.6.16-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: 192.168.2.219 Database: omc_db
-- ------------------------------------------------------
-- Server version 10.3.38-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `sys_menu`
--
DROP TABLE IF EXISTS `sys_menu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sys_menu` (
`menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
`menu_name` varchar(50) NOT NULL COMMENT '菜单名称',
`parent_id` bigint(20) DEFAULT 0 COMMENT '父菜单ID 默认0',
`menu_sort` int(11) DEFAULT 0 COMMENT '显示顺序',
`path` varchar(200) DEFAULT '' COMMENT '路由地址',
`component` varchar(200) DEFAULT '' COMMENT '组件路径',
`is_frame` char(1) DEFAULT '1' COMMENT '是否内部跳转(0否 1是)',
`is_cache` char(1) DEFAULT '0' COMMENT '是否缓存(0不缓存 1缓存)',
`menu_type` char(1) NOT NULL COMMENT '菜单类型(D目录 M菜单 B按钮)',
`visible` char(1) DEFAULT '0' COMMENT '是否显示(0隐藏 1显示)',
`status` char(1) DEFAULT '0' COMMENT '菜单状态(0停用 1正常)',
`perms` varchar(100) DEFAULT NULL COMMENT '权限标识',
`icon` varchar(100) DEFAULT '#' COMMENT '菜单图标(#无图标)',
`create_by` varchar(50) DEFAULT '' COMMENT '创建者',
`create_time` bigint(20) DEFAULT 0 COMMENT '创建时间',
`update_by` varchar(50) DEFAULT '' COMMENT '更新者',
`update_time` bigint(20) DEFAULT 0 COMMENT '更新时间',
`remark` varchar(500) DEFAULT '' COMMENT '备注',
PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2139 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='菜单权限表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sys_menu`
--
LOCK TABLES `sys_menu` WRITE;
/*!40000 ALTER TABLE `sys_menu` DISABLE KEYS */;
INSERT INTO `sys_menu` VALUES (1,'menu.system',0,16,'system',NULL,'1','1','D','1','1',NULL,'icon-xiangmu','supervisor',1700000000000,NULL,0,'menu.systemRemark'),(2,'menu.monitor',0,2,'monitor',NULL,'1','1','D','0','0',NULL,'icon-wenjian','supervisor',1700000000000,NULL,0,'menu.monitorRemark'),(3,'menu.tools',0,15,'tool',NULL,'1','1','D','1','1',NULL,'icon-wenjian','supervisor',1700000000000,NULL,0,'menu.toolsRemark'),(4,'menu.config',0,3,'configManage',NULL,'1','0','D','1','1',NULL,'icon-huizhiguize','supervisor',1700000000000,NULL,0,'menu.configRemark'),(5,'menu.ueUser',0,7,'neUser',NULL,'1','0','D','1','1',NULL,'icon-wocanyu','supervisor',1700000000000,NULL,0,'menu.ueUserRemark'),(6,'故障管理',0,50,'page',NULL,'1','0','D','0','1','page','fa fa-home','admin',1690000000000,'admin',1690000000000,'故障管理'),(7,'配置管理',0,550,'page',NULL,'1','0','D','0','1','page','fa fa-home','admin',1690000000000,'admin',0,'配置管理'),(8,'性能管理',0,551,'page',NULL,'1','0','D','0','1','page','fa fa-home','admin',1690000000000,'admin',0,'性能管理'),(9,'操作维护',0,552,'page',NULL,'1','0','D','0','1','page','fa fa-home','admin',1690000000000,'admin',0,'操作维护'),(10,'跟踪管理',0,553,'page',NULL,'1','0','D','0','1','page','fa fa-home','admin',1690000000000,'admin',1690000000000,'跟踪管理'),(11,'日志管理',0,554,'page',NULL,'1','0','D','0','1','page','fa fa-home','admin',1690000000000,'admin',0,'日志管理'),(12,'安全管理',0,555,'page',NULL,'1','0','D','0','1','page','fa fa-home','admin',1690000000000,'admin',0,'安全管理'),(13,'北向管理',0,556,'page',NULL,'1','0','D','0','0','page','fa fa-home','admin',1690000000000,'admin',1690000000000,'北向管理'),(14,'系统管理',0,557,'page',NULL,'1','0','D','0','1','page','fa fa-home','admin',1690000000000,'admin',0,'系统管理'),(15,'拓扑管理',0,558,'page',NULL,'1','0','D','0','0','page','fa fa-home','admin',1690000000000,'admin',0,'拓扑管理'),(100,'menu.security.user',2113,1,'user','system/user/index','1','1','M','1','1','system:user:list','icon-wocanyu','supervisor',1700000000000,NULL,0,'menu.security.userRemark'),(101,'menu.security.role',2113,3,'role','system/role/index','1','1','M','1','1','system:role:list','icon-anzhuo','supervisor',1700000000000,NULL,0,'menu.security.roleRemark'),(102,'menu.security.roleUser',2113,3,'role/inline/auth-user/:roleId','system/role/auth-user','1','1','M','0','1','system:role:auth','#','supervisor',1700000000000,NULL,0,'menu.security.roleUserRemark'),(103,'menu.system.menu',1,4,'menu','system/menu/index','1','1','M','1','1','system:menu:list','icon-wofaqi','supervisor',1700000000000,NULL,0,'menu.system.menuRemark'),(104,'menu.security.dept',2113,5,'dept','system/dept/index','1','1','M','1','1','system:dept:list','icon-yuzhanghao1','supervisor',1700000000000,NULL,0,'menu.security.deptRemark'),(105,'menu.security.post',2113,6,'post','system/post/index','1','1','M','1','1','system:post:list','icon-gonggaodayi','supervisor',1700000000000,NULL,0,'menu.security.postRemark'),(106,'menu.system.dictType',1,7,'dict','system/dict/index','1','1','M','1','1','system:dict:list','icon-tubiaoku','supervisor',1700000000000,NULL,0,'menu.system.dictTypeRemark'),(107,'menu.system.dictData',1,8,'dict/inline/data/:dictId','system/dict/data','1','1','M','0','1','system:dict:data','#','supervisor',1700000000000,NULL,0,'menu.system.dictDataRemark'),(108,'menu.system.paramSet',1,9,'config','system/config/index','1','1','M','1','1','system:config:list','icon-gongnengjieshao','supervisor',1700000000000,NULL,0,'menu.system.paramSetRemark'),(111,'menu.system.systemLog',1,11,'log',NULL,'1','1','D','0','0',NULL,'#','supervisor',1700000000000,NULL,0,'menu.system.systemLogRemark'),(112,'menu.system.systemInfo',1,3,'system-info','monitor/system/info','1','1','M','1','1','monitor:system:info','icon-fuzhidaima','supervisor',1700000000000,NULL,0,'menu.system.systemInfoRemark'),(113,'menu.system.cacheInfo',1,2,'cache-info','monitor/cache/info','1','1','M','1','1','monitor:cache:info','icon-gongnengjieshao','supervisor',1700000000000,NULL,0,'menu.system.cacheInfoRemark'),(114,'menu.system.cache',1,3,'cache','monitor/cache/index','1','1','M','1','1','monitor:cache:list','icon-tubiaoku','supervisor',1700000000000,NULL,0,'menu.system.cacheRemark'),(115,'menu.security.onlineUser',2113,2,'online','monitor/online/index','1','1','M','1','1','monitor:online:list','icon-xiangmuchengyuan','supervisor',1700000000000,NULL,0,'menu.security.onlineUserRemark'),(116,'menu.system.job',1,1,'job','monitor/job/index','1','1','M','1','1','monitor:job:list','icon-lishi','supervisor',1700000000000,NULL,0,'menu.system.jobRemark'),(117,'menu.system.jobLog',1,2,'/system/job/inline/log/:jobId','monitor/job/log','1','1','M','0','1','monitor:job:log','#','supervisor',1700000000000,NULL,0,'menu.system.jobLogRemark'),(118,'menu.tools.help',3,1,'help','tool/help/index','1','1','M','1','1','tool:help:list','#','supervisor',1700000000000,'supervisorLine truncated
/*!40000 ALTER TABLE `sys_menu` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2024-03-06 17:27:01