记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
c3d61cd8
Commit
c3d61cd8
authored
May 06, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 sql
parent
bc3e5038
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
db_goblin_list.sql
...lin/liquidnet-service-goblin-impl/docu/db_goblin_list.sql
+18
-12
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/db_goblin_list.sql
View file @
c3d61cd8
DROP
TABLE
IF
EXISTS
`goblin_list`
;
DROP
TABLE
IF
EXISTS
`goblin_list`
;
CREATE
TABLE
`goblin_list`
CREATE
TABLE
`goblin_list`
(
(
`mid`
bigint
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
`mid`
bigint
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
`list_id`
varchar
(
64
)
DEFAULT
''
COMMENT
'名单id'
,
`list_id`
varchar
(
64
)
DEFAULT
''
COMMENT
'名单id'
,
`uid`
varchar
(
64
)
DEFAULT
''
COMMENT
'用户id'
,
`uid`
varchar
(
64
)
DEFAULT
''
COMMENT
'用户id'
,
`name`
varchar
(
64
)
DEFAULT
''
COMMENT
'名单名称'
,
`name`
varchar
(
64
)
DEFAULT
''
COMMENT
'名单名称'
,
`white_type`
int
DEFAULT
1
COMMENT
'白名单类型[0-会员|1-指定用户]'
,
`white_type`
int
DEFAULT
1
COMMENT
'白名单类型[0-会员|1-指定用户]'
,
`white_url`
varchar
(
512
)
DEFAULT
''
COMMENT
'白名单xls地址'
,
`white_url`
varchar
(
512
)
DEFAULT
''
COMMENT
'白名单xls地址'
,
`advance_min`
int
DEFAULT
0
COMMENT
'提前购买时间'
,
`time_start`
datetime
DEFAULT
null
COMMENT
'开始时间'
,
`black_type`
int
DEFAULT
1
COMMENT
'黑名单类型[0-会员|1-指定用户]'
,
`time_end`
datetime
DEFAULT
null
COMMENT
'结束时间'
,
`black_url`
varchar
(
512
)
DEFAULT
''
COMMENT
'黑名单xls地址'
,
`tag_type`
int
DEFAULT
0
COMMIT
'标签[0-提前购买|1-分段购买]'
,
`comment`
varchar
(
255
)
DEFAULT
''
COMMENT
'补充字段'
,
`black_type`
int
DEFAULT
1
COMMENT
'黑名单类型[0-会员|1-指定用户]'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`black_url`
varchar
(
512
)
DEFAULT
''
COMMENT
'黑名单xls地址'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
`comment`
varchar
(
255
)
DEFAULT
''
COMMENT
'补充字段'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
)
USING
BTREE
PRIMARY
KEY
(
`mid`
)
USING
BTREE
)
ENGINE
=
InnoDB
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
AUTO_INCREMENT
=
1
...
@@ -28,6 +30,10 @@ CREATE TABLE `goblin_list_details`
...
@@ -28,6 +30,10 @@ CREATE TABLE `goblin_list_details`
`list_id`
varchar
(
64
)
DEFAULT
''
COMMENT
'名单id'
,
`list_id`
varchar
(
64
)
DEFAULT
''
COMMENT
'名单id'
,
`spu_id`
varchar
(
64
)
DEFAULT
''
COMMENT
'spuId'
,
`spu_id`
varchar
(
64
)
DEFAULT
''
COMMENT
'spuId'
,
`sku_id`
varchar
(
64
)
DEFAULT
''
COMMENT
'skuId'
,
`sku_id`
varchar
(
64
)
DEFAULT
''
COMMENT
'skuId'
,
`price`
varchar
(
64
)
DEFAULT
''
COMMENT
'单品现价'
,
`sku_stock`
int
DEFAULT
0
COMMENT
'单品库存'
,
`price_v`
decimal
(
20
,
2
)
DEFAULT
0
.
00
COMMENT
'苹果商品价格'
,
`product_id`
varchar
(
64
)
DEFAULT
''
COMMENT
'苹果商品价格ID'
,
`comment`
varchar
(
255
)
DEFAULT
''
COMMENT
'补充字段'
,
`comment`
varchar
(
255
)
DEFAULT
''
COMMENT
'补充字段'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
...
...
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