74
правки
Изменения
Нет описания правки
<pre>
select user from users u LEFT JOIN map_flat_uid mfu ON u.uid=mfu.uid WHERE u.gid NOT IN (2,15,34,49) AND mfu.uid IS NULL;
</pre>
= Изменение логина юзера=
Т.к в экшенс записи пишутся по логину а не по юид надо во всех экшенсах обновить логины
<pre>
update users set user='NEW_USERNAME' where user='OLD_USERNAME';
update actions set user ='NEW_USERNAME' where user='OLD_USERNAME';
update actions set user ='NEW_USERNAME' where user='OLD_USERNAME';
</pre>