yunohost-gitea_ynh/scripts/fix_user_db_for_local_users.sql

4 lines
127 B
MySQL
Raw Permalink Normal View History

UPDATE `__APP__`.`user`
SET `login_type` = 2, `login_source` = 1, `login_name` = `name`
WHERE `user`.`name` in __USER_LIST__ ;