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
wwwanlingxiao
mall
Commits
755b083d
Commit
755b083d
authored
Jul 28, 2020
by
macro
Browse files
Update mall.sql
parent
b0be2e91
Changes
1
Show whitespace changes
Inline
Side-by-side
document/sql/mall.sql
View file @
755b083d
...
@@ -1348,7 +1348,7 @@ INSERT INTO `pms_sku_stock` VALUES ('178', '35', '202002250035008', '200.00', '1
...
@@ -1348,7 +1348,7 @@ INSERT INTO `pms_sku_stock` VALUES ('178', '35', '202002250035008', '200.00', '1
DROP TABLE IF EXISTS `sms_coupon`;
DROP TABLE IF EXISTS `sms_coupon`;
CREATE TABLE `sms_coupon` (
CREATE TABLE `sms_coupon` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`type`
int
(
1
)
DEFAULT
NULL
COMMENT
'优惠
卷
类型;0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券'
,
`type` int(1) DEFAULT NULL COMMENT '优惠
券
类型;0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券',
`name` varchar(100) DEFAULT NULL,
`name` varchar(100) DEFAULT NULL,
`platform` int(1) DEFAULT NULL COMMENT '使用平台:0->全部;1->移动;2->PC',
`platform` int(1) DEFAULT NULL COMMENT '使用平台:0->全部;1->移动;2->PC',
`count` int(11) DEFAULT NULL COMMENT '数量',
`count` int(11) DEFAULT NULL COMMENT '数量',
...
@@ -1366,7 +1366,7 @@ CREATE TABLE `sms_coupon` (
...
@@ -1366,7 +1366,7 @@ CREATE TABLE `sms_coupon` (
`code` varchar(64) DEFAULT NULL COMMENT '优惠码',
`code` varchar(64) DEFAULT NULL COMMENT '优惠码',
`member_level` int(1) DEFAULT NULL COMMENT '可领取的会员类型:0->无限时',
`member_level` int(1) DEFAULT NULL COMMENT '可领取的会员类型:0->无限时',
PRIMARY KEY (`id`)
PRIMARY KEY (`id`)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
24
DEFAULT
CHARSET
=
utf8
COMMENT
=
'优惠
卷
表'
;
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8 COMMENT='优惠
券
表';
-- ----------------------------
-- ----------------------------
-- Records of sms_coupon
-- Records of sms_coupon
...
...
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