UPDATE auth_user AS a
SET a.out_id = ( SELECT b.id FROM uums_user_info b WHERE a.username = b.account )
将uums_user_info表的id同步到auth_user的out_id字段
最新推荐文章于 2023-03-15 11:54:37 发布
UPDATE auth_user AS a
SET a.out_id = ( SELECT b.id FROM uums_user_info b WHERE a.username = b.account )