Browse Source

增加"居民信息-是否租户"sql脚本

release
wangxianzhang 3 years ago
parent
commit
9e91c954a6
  1. 4
      epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.40__member_huji.sql

4
epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.40__member_huji.sql

@ -1,2 +1,6 @@
alter table ic_resi_member add COLUMN DOMICILE_PLACE VARCHAR(128) comment '户籍所在地' AFTER YMJZ;
alter table ic_resi_member add COLUMN WORK_PLACE VARCHAR(128) comment '单位或学校' AFTER DOMICILE_PLACE;
-- 居民信息表添加租户列
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='';
Loading…
Cancel
Save