Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
bb48ab91
Commit
bb48ab91
authored
Dec 23, 2018
by
Junling Bu
Browse files
数据库更新: litemall_coupon_user表添加start_time字段和end_time字段
parent
fcdbb44f
Changes
2
Hide whitespace changes
Inline
Side-by-side
litemall-db/sql/litemall_data.sql
View file @
bb48ab91
...
...
@@ -108,7 +108,6 @@ UNLOCK TABLES;
LOCK TABLES `litemall_coupon_user` WRITE;
/*!40000 ALTER TABLE `litemall_coupon_user` DISABLE KEYS */;
INSERT INTO `litemall_coupon_user` VALUES (2,1,8,0,NULL,NULL,'2018-12-23 09:30:14','2018-12-23 09:30:14',0);
/*!40000 ALTER TABLE `litemall_coupon_user` ENABLE KEYS */;
UNLOCK TABLES;
litemall-db/sql/litemall_table.sql
View file @
bb48ab91
...
...
@@ -248,6 +248,8 @@ CREATE TABLE `litemall_coupon_user` (
`coupon_id`
int
(
11
)
NOT
NULL
COMMENT
'优惠券ID'
,
`status`
smallint
(
6
)
DEFAULT
'0'
COMMENT
'使用状态, 如果是0则未使用;如果是1则已使用;如果是2则已过期;如果是3则已经下架;'
,
`used_time`
datetime
DEFAULT
NULL
COMMENT
'使用时间'
,
`start_time`
datetime
DEFAULT
NULL
COMMENT
'有效期开始时间'
,
`end_time`
datetime
DEFAULT
NULL
COMMENT
'有效期截至时间'
,
`order_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'订单ID'
,
`add_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
...
...
Write
Preview
Supports
Markdown
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