Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioc_sixiang_license
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zengtianlai3
ioc_sixiang_license
Commits
eb2a568f
Commit
eb2a568f
authored
Feb 03, 2023
by
AfirSraftGarrier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into for-yx
parents
02470903
41334a89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
update.2023.1.sql
license/doc/update.2023.1.sql
+4
-3
No files found.
license/doc/update.2023.1.sql
View file @
eb2a568f
...
@@ -7,7 +7,7 @@ DROP TABLE IF EXISTS `permission`;
...
@@ -7,7 +7,7 @@ DROP TABLE IF EXISTS `permission`;
CREATE
TABLE
`permission`
CREATE
TABLE
`permission`
(
(
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
`description`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'权限说明'
,
`description`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'权限说明'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`deleted`
int
(
1
)
DEFAULT
'0'
COMMENT
'逻辑删除标识 1:删除,0:未删除'
,
`deleted`
int
(
1
)
DEFAULT
'0'
COMMENT
'逻辑删除标识 1:删除,0:未删除'
,
...
@@ -22,6 +22,7 @@ CREATE TABLE `user_permission`
...
@@ -22,6 +22,7 @@ CREATE TABLE `user_permission`
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`deleted`
int
(
1
)
DEFAULT
'0'
COMMENT
'逻辑删除标识 1:删除,0:未删除'
,
`deleted`
int
(
1
)
DEFAULT
'0'
COMMENT
'逻辑删除标识 1:删除,0:未删除'
,
UNIQUE
KEY
`user_permission_unique_key`
(
`permission`
,
`user`
),
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
0
DEFAULT
CHARSET
=
utf8
COMMENT
=
'用户权限表'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
0
DEFAULT
CHARSET
=
utf8
COMMENT
=
'用户权限表'
;
...
@@ -47,7 +48,7 @@ CREATE TABLE `report_type`
...
@@ -47,7 +48,7 @@ CREATE TABLE `report_type`
(
(
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
`category`
int
(
1
)
DEFAULT
NULL
COMMENT
'报警大类 1:系统,0:设备'
,
`category`
int
(
1
)
DEFAULT
NULL
COMMENT
'报警大类 1:系统,0:设备'
,
`description`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'说明'
,
`description`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'说明'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`deleted`
int
(
1
)
DEFAULT
'0'
COMMENT
'逻辑删除标识 1:删除,0:未删除'
,
`deleted`
int
(
1
)
DEFAULT
'0'
COMMENT
'逻辑删除标识 1:删除,0:未删除'
,
...
@@ -62,7 +63,7 @@ CREATE TABLE `report`
...
@@ -62,7 +63,7 @@ CREATE TABLE `report`
`category`
int
(
1
)
DEFAULT
NULL
COMMENT
'报警大类 1:系统,0:设备'
,
`category`
int
(
1
)
DEFAULT
NULL
COMMENT
'报警大类 1:系统,0:设备'
,
`type`
int
(
3
)
DEFAULT
NULL
COMMENT
'报警类型'
,
`type`
int
(
3
)
DEFAULT
NULL
COMMENT
'报警类型'
,
`sn`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'设备编码(系统报警该值为空)'
,
`sn`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'设备编码(系统报警该值为空)'
,
`description`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'报警说明'
,
`description`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'报警说明'
,
`user_name`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'报警账户'
,
`user_name`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'报警账户'
,
`user_company`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'报警公司'
,
`user_company`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'报警公司'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
...
...
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