Commit bb48ab91 authored by Junling Bu's avatar Junling Bu
Browse files

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

parent fcdbb44f
...@@ -108,7 +108,6 @@ UNLOCK TABLES; ...@@ -108,7 +108,6 @@ UNLOCK TABLES;
   
LOCK TABLES `litemall_coupon_user` WRITE; LOCK TABLES `litemall_coupon_user` WRITE;
/*!40000 ALTER TABLE `litemall_coupon_user` DISABLE KEYS */; /*!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 */; /*!40000 ALTER TABLE `litemall_coupon_user` ENABLE KEYS */;
UNLOCK TABLES; UNLOCK TABLES;
   
...@@ -248,6 +248,8 @@ CREATE TABLE `litemall_coupon_user` ( ...@@ -248,6 +248,8 @@ CREATE TABLE `litemall_coupon_user` (
`coupon_id` int(11) NOT NULL COMMENT '优惠券ID', `coupon_id` int(11) NOT NULL COMMENT '优惠券ID',
`status` smallint(6) DEFAULT '0' COMMENT '使用状态, 如果是0则未使用;如果是1则已使用;如果是2则已过期;如果是3则已经下架;', `status` smallint(6) DEFAULT '0' COMMENT '使用状态, 如果是0则未使用;如果是1则已使用;如果是2则已过期;如果是3则已经下架;',
`used_time` datetime DEFAULT NULL COMMENT '使用时间', `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', `order_id` int(11) DEFAULT NULL COMMENT '订单ID',
`add_time` datetime DEFAULT NULL COMMENT '创建时间', `add_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_time` datetime DEFAULT NULL COMMENT '更新时间', `update_time` datetime DEFAULT NULL COMMENT '更新时间',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment