Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
0f437cc5
Commit
0f437cc5
authored
Dec 09, 2017
by
naan1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理数据库
parent
d25fc7ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
39 deletions
+7
-39
guns-admin/sql/biz.sql
+0
-31
guns-admin/sql/guns.sql
+7
-8
No files found.
guns-admin/sql/biz.sql
deleted
100644 → 0
View file @
d25fc7ce
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50621
Source Host : localhost:3306
Source Database : biz
Target Server Type : MYSQL
Target Server Version : 50621
File Encoding : 65001
Date: 2017-09-04 16:17:33
*/
SET
FOREIGN_KEY_CHECKS
=
0
;
-- ----------------------------
-- Table structure for test
-- ----------------------------
DROP
TABLE
IF
EXISTS
`test`
;
CREATE
TABLE
`test`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`value`
varchar
(
255
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
23
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of test
-- ----------------------------
INSERT
INTO
`test`
VALUES
(
'1'
,
'qwe'
);
guns-admin/sql/guns.sql
View file @
0f437cc5
...
...
@@ -10,7 +10,7 @@ Target Server Type : MYSQL
Target Server Version : 50621
File Encoding : 65001
Date: 2017-12-0
7 23:37:04
Date: 2017-12-0
9 22:44:15
*/
DROP
DATABASE
IF
EXISTS
guns_flowable
;
...
...
@@ -106,7 +106,7 @@ CREATE TABLE `login_log` (
`message`
text
COMMENT
'具体消息'
,
`ip`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'登录ip'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
21
5
DEFAULT
CHARSET
=
utf8
COMMENT
=
'登录记录'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
21
6
DEFAULT
CHARSET
=
utf8
COMMENT
=
'登录记录'
;
-- ----------------------------
-- Records of login_log
...
...
@@ -136,7 +136,7 @@ CREATE TABLE `menu` (
-- ----------------------------
-- Records of menu
-- ----------------------------
INSERT
INTO
`menu`
VALUES
(
'105'
,
'system'
,
'0'
,
'[0],'
,
'系统管理'
,
'fa-user'
,
'
'
,
'3
'
,
'1'
,
'1'
,
null
,
'1'
,
'1'
);
INSERT
INTO
`menu`
VALUES
(
'105'
,
'system'
,
'0'
,
'[0],'
,
'系统管理'
,
'fa-user'
,
'
#'
,
'4
'
,
'1'
,
'1'
,
null
,
'1'
,
'1'
);
INSERT
INTO
`menu`
VALUES
(
'106'
,
'mgr'
,
'system'
,
'[0],[system],'
,
'用户管理'
,
''
,
'/mgr'
,
'1'
,
'2'
,
'1'
,
null
,
'1'
,
'0'
);
INSERT
INTO
`menu`
VALUES
(
'107'
,
'mgr_add'
,
'mgr'
,
'[0],[system],[mgr],'
,
'添加用户'
,
null
,
'/mgr/add'
,
'1'
,
'3'
,
'0'
,
null
,
'1'
,
'0'
);
INSERT
INTO
`menu`
VALUES
(
'108'
,
'mgr_edit'
,
'mgr'
,
'[0],[system],[mgr],'
,
'修改用户'
,
null
,
'/mgr/edit'
,
'2'
,
'3'
,
'0'
,
null
,
'1'
,
'0'
);
...
...
@@ -171,7 +171,7 @@ INSERT INTO `menu` VALUES ('142', 'notice_add', 'notice', '[0],[system],[notice]
INSERT
INTO
`menu`
VALUES
(
'143'
,
'notice_update'
,
'notice'
,
'[0],[system],[notice],'
,
'修改通知'
,
null
,
'/notice/update'
,
'2'
,
'3'
,
'0'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'144'
,
'notice_delete'
,
'notice'
,
'[0],[system],[notice],'
,
'删除通知'
,
null
,
'/notice/delete'
,
'3'
,
'3'
,
'0'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'145'
,
'hello'
,
'0'
,
'[0],'
,
'通知'
,
'fa-rocket'
,
'/notice/hello'
,
'1'
,
'1'
,
'1'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'148'
,
'code'
,
'
system'
,
'[0],[system],'
,
'代码生成'
,
'fa-user'
,
'/code'
,
'10'
,
'2
'
,
'1'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'148'
,
'code'
,
'
0'
,
'[0],'
,
'代码生成'
,
'fa-code'
,
'/code'
,
'3'
,
'1
'
,
'1'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'149'
,
'api_mgr'
,
'0'
,
'[0],'
,
'接口文档'
,
'fa-leaf'
,
'/swagger-ui.html'
,
'2'
,
'1'
,
'1'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'150'
,
'to_menu_edit'
,
'menu'
,
'[0],[system],[menu],'
,
'菜单编辑跳转'
,
''
,
'/menu/menu_edit'
,
'4'
,
'3'
,
'0'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'151'
,
'menu_list'
,
'menu'
,
'[0],[system],[menu],'
,
'菜单列表'
,
''
,
'/menu/list'
,
'5'
,
'3'
,
'0'
,
null
,
'1'
,
null
);
...
...
@@ -191,7 +191,7 @@ INSERT INTO `menu` VALUES ('164', 'role_list', 'role', '[0],[system],[role],', '
INSERT
INTO
`menu`
VALUES
(
'165'
,
'to_assign_role'
,
'mgr'
,
'[0],[system],[mgr],'
,
'分配角色跳转'
,
''
,
'/mgr/role_assign'
,
'8'
,
'3'
,
'0'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'166'
,
'to_user_edit'
,
'mgr'
,
'[0],[system],[mgr],'
,
'编辑用户跳转'
,
''
,
'/mgr/user_edit'
,
'9'
,
'3'
,
'0'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'167'
,
'mgr_list'
,
'mgr'
,
'[0],[system],[mgr],'
,
'用户列表'
,
''
,
'/mgr/list'
,
'10'
,
'3'
,
'0'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'168'
,
'expense'
,
'0'
,
'[0],'
,
'报销管理'
,
'fa-clone'
,
'#'
,
'
4
'
,
'1'
,
'1'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'168'
,
'expense'
,
'0'
,
'[0],'
,
'报销管理'
,
'fa-clone'
,
'#'
,
'
5
'
,
'1'
,
'1'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'169'
,
'expense_fill'
,
'expense'
,
'[0],[expense],'
,
'报销申请'
,
''
,
'/expense'
,
'1'
,
'2'
,
'1'
,
null
,
'1'
,
null
);
INSERT
INTO
`menu`
VALUES
(
'170'
,
'expense_progress'
,
'expense'
,
'[0],[expense],'
,
'报销审批'
,
''
,
'/process'
,
'2'
,
'2'
,
'1'
,
null
,
'1'
,
null
);
...
...
@@ -230,13 +230,12 @@ CREATE TABLE `operation_log` (
`succeed`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'是否成功'
,
`message`
text
COMMENT
'备注'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
5
43
DEFAULT
CHARSET
=
utf8
COMMENT
=
'操作日志'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
5
50
DEFAULT
CHARSET
=
utf8
COMMENT
=
'操作日志'
;
-- ----------------------------
-- Records of operation_log
-- ----------------------------
INSERT
INTO
`operation_log`
VALUES
(
'541'
,
'业务日志'
,
'清空业务日志'
,
'1'
,
'com.stylefeng.guns.modular.system.controller.LogController'
,
'delLog'
,
'2017-12-07 23:36:45'
,
'成功'
,
'主键id=null'
);
INSERT
INTO
`operation_log`
VALUES
(
'542'
,
'业务日志'
,
'修改菜单'
,
'1'
,
'com.stylefeng.guns.modular.system.controller.MenuController'
,
'edit'
,
'2017-12-09 18:40:09'
,
'成功'
,
'菜单名称=通知;;;'
);
INSERT
INTO
`operation_log`
VALUES
(
'549'
,
'业务日志'
,
'清空业务日志'
,
'1'
,
'com.stylefeng.guns.modular.system.controller.LogController'
,
'delLog'
,
'2017-12-09 22:44:05'
,
'成功'
,
'主键id=null'
);
-- ----------------------------
-- Table structure for relation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment