数据库更新: litemall_coupon_user表添加start_time字段和end_time字段

This commit is contained in:
Junling Bu
2018-12-23 15:20:44 +08:00
parent fcdbb44fba
commit bb48ab916c
2 changed files with 2 additions and 1 deletions

View File

@@ -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;

View File

@@ -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 '更新时间',