From 01d0f6b29d486ca9f67b1fa44d7c9cecab278785 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Dec 2019 17:49:52 +0800 Subject: [PATCH] update --- update.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update.sql b/update.sql index 46d2109f..9ff6b37c 100644 --- a/update.sql +++ b/update.sql @@ -95,9 +95,10 @@ CREATE TABLE `v2_coupon` ( `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `code` char(32) 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, `status` tinyint(1) NOT NULL DEFAULT '0', + `limit_use` int(11) DEFAULT NULL, `expired_at` int(11) NOT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL