Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mall-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
yimu
mall-server
Commits
d47d0099
Commit
d47d0099
authored
Dec 24, 2021
by
wlx@33.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正sql
parent
613dcc0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
mall_create.sql
mall-sql/mall_create.sql
+14
-0
No files found.
mall-sql/mall_create.sql
View file @
d47d0099
...
@@ -2500,3 +2500,16 @@ ALTER TABLE `external_token`
...
@@ -2500,3 +2500,16 @@ ALTER TABLE `external_token`
ALTER
TABLE
`external_token`
ALTER
TABLE
`external_token`
ADD
COLUMN
`publisher`
varchar
(
255
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
''
COMMENT
'发行者'
;
ADD
COLUMN
`publisher`
varchar
(
255
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
''
COMMENT
'发行者'
;
ALTER
TABLE
`goods_spu`
MODIFY
`traceability_number`
varchar
(
1000
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
''
COMMENT
'溯源编号'
;
ALTER
TABLE
`goods_spu`
MODIFY
`traceability_number`
varchar
(
1000
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
''
COMMENT
'溯源编号'
;
-- 20212124
DROP
TABLE
IF
EXISTS
`goods_sku_usufruct`
;
CREATE
TABLE
`goods_sku_usufruct`
(
`id`
bigint
(
20
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`prefix`
varchar
(
32
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
''
COMMENT
'使用权前缀'
,
`serial_no`
json
DEFAULT
NULL
COMMENT
'序列号'
,
`create_time`
bigint
(
20
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'创建时间'
,
`update_time`
bigint
(
20
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'更新时间'
,
`commodity_pass_id`
varchar
(
32
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
''
COMMENT
'编号'
,
`merchant_id`
varchar
(
32
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
''
COMMENT
'商户号'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
=
'使用权'
;
\ 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