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 a255e482
authored
Dec 19, 2020
by
tyfanchz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开放平台相关数据表修改
1 parent
358df473
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
doc/database-open-platform.sql
doc/database-open-platform.sql
View file @
a255e48
...
...
@@ -11,8 +11,8 @@ CREATE TABLE `t_platform_customer` (
`area`
int
(
11
)
DEFAULT
NULL
COMMENT
'区 sys_area的id'
,
`address`
VARCHAR
(
128
)
DEFAULT
NULL
COMMENT
'详细地址'
,
`status`
TINYINT
(
2
)
DEFAULT
NULL
COMMENT
'账号状态 0 停用 1 正常 2 待审核 3 审核未通过'
,
`public_key`
VARCHAR
(
256
)
DEFAULT
NULL
COMMENT
'公钥'
,
`private_key`
VARCHAR
(
256
)
DEFAULT
NULL
COMMENT
'私钥'
,
`public_key`
VARCHAR
(
512
)
DEFAULT
NULL
COMMENT
'公钥'
,
`private_key`
VARCHAR
(
512
)
DEFAULT
NULL
COMMENT
'私钥'
,
`channel_number`
VARCHAR
(
32
)
DEFAULT
NULL
COMMENT
'渠道号'
,
`create_time`
DATETIME
DEFAULT
NULL
COMMENT
'创建d时间'
,
`update_time`
DATETIME
DEFAULT
NULL
COMMENT
'更新时间'
,
...
...
@@ -20,7 +20,8 @@ CREATE TABLE `t_platform_customer` (
`update_by`
INT
(
11
)
DEFAULT
NULL
COMMENT
'更新人'
,
`remark`
VARCHAR
(
50
)
DEFAULT
NULL
COMMENT
'备注'
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`contact_channel_number`
(
`contact_number`
,
`channel_number`
)
UNIQUE
KEY
`contact_channel_number`
(
`contact_number`
,
`channel_number`
),
UNIQUE
KEY
`customer_name`
(
`customer_name`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'客户管理表'
;
DROP
TABLE
IF
EXISTS
`t_platform_device`
;
...
...
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