This commit is contained in:
root 2019-12-31 17:49:52 +08:00
parent 2d7d5a564e
commit 01d0f6b29d

View File

@ -95,9 +95,10 @@ CREATE TABLE `v2_coupon` (
`id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`code` char(32) NOT NULL, `code` char(32) NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 NOT NULL, `name` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
`type` tinyint(1) NOT NULL, `type` tinyint(1) NOT NULL COMMENT '1按比例2',
`value` int(11) NOT NULL, `value` int(11) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '0', `status` tinyint(1) NOT NULL DEFAULT '0',
`limit_use` int(11) DEFAULT NULL,
`expired_at` int(11) NOT NULL, `expired_at` int(11) NOT NULL,
`created_at` int(11) NOT NULL, `created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL `updated_at` int(11) NOT NULL