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
12e91be8
Commit
12e91be8
authored
Nov 23, 2022
by
AfirSraftGarrier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库修改
parent
c763f4e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
update.sql
license/doc/update.sql
+20
-0
No files found.
license/doc/update.sql
View file @
12e91be8
#
-------------------- 平台应用相关,以pms开头 --------------------
DROP
TABLE
IF
EXISTS
`pms_use_log`
;
CREATE
TABLE
`pms_use_log`
(
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
`sn`
varchar
(
30
)
DEFAULT
NULL
COMMENT
'业务流程唯一标识'
,
`status`
int
(
1
)
DEFAULT
'0'
COMMENT
'状态 1:成功,0:失败'
,
`error_code`
varchar
(
10
)
DEFAULT
NULL
COMMENT
'如果失败,则这是失败的代号'
,
`message`
varchar
(
200
)
DEFAULT
NULL
COMMENT
'如果失败,则这里是失败的信息'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`deleted`
int
(
1
)
DEFAULT
'0'
COMMENT
'逻辑删除标识 1:删除,0:未删除'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
0
DEFAULT
CHARSET
=
utf8
COMMENT
=
'使用记录表'
;
ALTER
TABLE
`device`
ADD
COLUMN
`status`
int
(
1
)
NULL
DEFAULT
NULL
COMMENT
'状态 0:未使用,1:已使用,2:失效'
AFTER
`app_id`
;
ALTER
TABLE
`device`
ADD
COLUMN
`sn_bind`
varchar
(
30
)
NULL
DEFAULT
NULL
COMMENT
'绑定的SN'
AFTER
`status`
;
\ No newline at end of file
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