From 2bad2430fcc72d779e374e3e43b92da6bacbff2a Mon Sep 17 00:00:00 2001 From: wangxianzhang Date: Wed, 13 Apr 2022 15:58:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=EF=BC=9A"=E5=B1=85=E6=B0=91?= =?UTF-8?q?=E4=BF=A1=E6=81=AF-=E6=98=AF=E5=90=A6=E7=A7=9F=E6=88=B7/?= =?UTF-8?q?=E6=B5=81=E5=8A=A8=E4=BA=BA=E5=8F=A3".sql=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E5=92=8CIcResiUserTableEnum=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/db/migration/V0.0.40__member_huji.sql | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.40__member_huji.sql b/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.40__member_huji.sql index b3f04f8c3c..be15b0a523 100644 --- a/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.40__member_huji.sql +++ b/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.40__member_huji.sql @@ -3,4 +3,8 @@ alter table ic_resi_member add COLUMN WORK_PLACE VARCHAR(128) comment '单位或 -- 居民信息表添加租户列 alter table ic_resi_user add column IS_TENANT char(1) comment '是否租户【是:1 否:0】' after IS_SPECIAL; -update ic_resi_user set ic_resi_user.IS_TENANT='0' where ic_resi_user.IS_TENANT is null or ic_resi_user.IS_TENANT=''; \ No newline at end of file +update ic_resi_user set ic_resi_user.IS_TENANT='0' where ic_resi_user.IS_TENANT is null or ic_resi_user.IS_TENANT=''; + +-- 居民信息表添加流动人口列 +alter table ic_resi_user add column IS_FLOATING char(1) comment '是否是流动人口【是:1 否:0】' after IS_TENANT; +update ic_resi_user set ic_resi_user.IS_FLOATING='0' where ic_resi_user.IS_FLOATING is null or ic_resi_user.IS_FLOATING=''; \ No newline at end of file