修改用户表历史用户的默认status为0

This commit is contained in:
qiankunpingtai
2019-03-13 11:31:29 +08:00
parent c1865a8225
commit ba3b08cb42
2 changed files with 1 additions and 0 deletions

View File

@@ -1466,3 +1466,4 @@ DROP FUNCTION _buildOrgAndOrgUserRel;
-- ---------------------------- -- ----------------------------
alter table jsh_user change Status Status tinyint(4) DEFAULT '0' COMMENT '状态0正常1删除2封禁'; alter table jsh_user change Status Status tinyint(4) DEFAULT '0' COMMENT '状态0正常1删除2封禁';
update jsh_user set status='0' where status is null;