From 687625f782fe2c88a7ed35c1e332b8c0a1800c25 Mon Sep 17 00:00:00 2001 From: luozukai Date: Wed, 31 Jul 2019 18:59:39 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=B6=88=E6=81=AF][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E6=95=B4=E7=90=86=E6=B6=88=E6=81=AF=E7=B1=BB=E5=9E=8B]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/db/migration/V201907311830__L_ALTER_BILL.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkAdmin/src/main/resources/db/migration/V201907311830__L_ALTER_BILL.sql b/mallinkAdmin/src/main/resources/db/migration/V201907311830__L_ALTER_BILL.sql index 2016e90e2..1a6a31149 100644 --- a/mallinkAdmin/src/main/resources/db/migration/V201907311830__L_ALTER_BILL.sql +++ b/mallinkAdmin/src/main/resources/db/migration/V201907311830__L_ALTER_BILL.sql @@ -1,8 +1,8 @@ ALTER TABLE `wx_msg_validationcode_model` -ADD COLUMN `msg_type` INT(1) NULL DEFAULT NULL COMMENT '1短信2邮件'; +ADD COLUMN `msg_type` INT(1) NULL DEFAULT 0 COMMENT '1短信2邮件'; ALTER TABLE `wx_msg_validationcode_model` -ADD COLUMN `role_type` INT(1) NULL DEFAULT NULL COMMENT '0通用1管理员2商户端3消费者'; +ADD COLUMN `role_type` INT(1) NULL DEFAULT 0 COMMENT '0通用1管理员2商户端3消费者'; update wx_msg_validationcode_model set msg_type = 1 where content not like '<%'; update wx_msg_validationcode_model set msg_type = 2 where content like '<%';