Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
OSmall
/
linjiashop
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 8c3879bb
authored
Jan 03, 2021
by
tyfanchz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加表索引
1 parent
c40df2c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
doc/database-open-platform.sql
doc/database-open-platform.sql
View file @
8c3879b
...
@@ -56,6 +56,10 @@ CREATE TABLE `t_platform_device`
...
@@ -56,6 +56,10 @@ CREATE TABLE `t_platform_device`
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'设备管理表'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'设备管理表'
;
CREATE
INDEX
idx_get_list
ON
t_platform_device
(
device_sn
,
device_type
,
activat_time
,
`status`
,
customer_id
)
COMMENT
'设备列表查询索引'
;
DROP
TABLE
IF
EXISTS
`t_platform_user`
;
DROP
TABLE
IF
EXISTS
`t_platform_user`
;
CREATE
TABLE
`t_platform_user`
CREATE
TABLE
`t_platform_user`
(
(
...
...
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