Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-opsdoc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ecd59c37
authored
Apr 11, 2022
by
王欣伟
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加设备换绑记录表
1 parent
9f009d29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
1.6.0_四月/1.6.0数据库SQL脚本.sql
1.6.0_四月/1.6.0数据库SQL脚本.sql
View file @
ecd59c3
...
...
@@ -94,3 +94,17 @@ create table t_device_power
comment
'新e盾|设备里程表'
;
ALTER
TABLE
`t_device_power`
ADD
INDEX
idx_sn
(
`sn`
)
;
ALTER
TABLE
`t_device_power`
ADD
INDEX
idx_vd_id
(
`vd_id`
)
;
#
设备换绑纪录表
CREATE
TABLE
`t_vehicle_device_bindlog`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键'
,
`vd_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'设备绑定ID'
,
`operate_type`
int
(
2
)
DEFAULT
NULL
COMMENT
'操作类型(1:绑定;2:解绑)'
,
`remarks`
varchar
(
512
)
DEFAULT
NULL
COMMENT
'备注'
,
`del_flag`
int
(
2
)
DEFAULT
NULL
COMMENT
'删除状态'
,
`created_date`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`created_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'创建人'
,
`updated_date`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'车辆设备换绑记录表'
;
Write
Preview
Markdown
is supported
Attach a file
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 post a comment