2023/03/10 16:57:54 gogs.io/gogs/internal/db/migrations/migrations.go:82 record not found
[6.838ms] [rows:0] SELECT * FROM `version` WHERE id = 1 ORDER BY `version`.`id` LIMIT 1
2023/03/10 16:57:55 gogs.io/gogs/internal/db/users.go:815 record not found
[4.481ms] [rows:0] SELECT * FROM `user` WHERE lower_name = 'ping' ORDER BY `user`.`id` LIMIT 1
2023/03/10 16:58:06 gogs.io/gogs/internal/db/users.go:166 record not found
[3.187ms] [rows:0] SELECT * FROM `user` WHERE lower_name = 'ping' ORDER BY `user`.`id` LIMIT 1
2023/03/10 16:58:34 gogs.io/gogs/internal/db/users.go:857 record not found
[4.344ms] [rows:0] SELECT `id` FROM `user` WHERE lower_name = 'ping' AND id != 0 ORDER BY `user`.`id` LIMIT 1
2023/03/10 16:58:34 gogs.io/gogs/internal/db/users.go:790 record not found
[5.511ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857067837@qq.com' AND user.is_active = true) OR (email_address.email = '857067837@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:03:25 gogs.io/gogs/internal/db/access_tokens.go:155 record not found
[3.947ms] [rows:0] SELECT * FROM `access_token` WHERE sha256 = 'd4920526231c217dfa04ab9cc5556d4eefc1d82feaf2fbd29e790ad81a463ded' ORDER BY `access_token`.`id` LIMIT 1
2023/03/10 17:08:14 gogs.io/gogs/internal/db/access_tokens.go:155 record not found
[10.359ms] [rows:0] SELECT * FROM `access_token` WHERE sha256 = 'd4920526231c217dfa04ab9cc5556d4eefc1d82feaf2fbd29e790ad81a463ded' ORDER BY `access_token`.`id` LIMIT 1
2023/03/10 17:08:19 gogs.io/gogs/internal/db/access_tokens.go:155 record not found
[4.248ms] [rows:0] SELECT * FROM `access_token` WHERE sha256 = 'd4920526231c217dfa04ab9cc5556d4eefc1d82feaf2fbd29e790ad81a463ded' ORDER BY `access_token`.`id` LIMIT 1
2023/03/10 17:08:19 gogs.io/gogs/internal/db/repos.go:294 record not found
[8.382ms] [rows:0] SELECT * FROM `repository` WHERE owner_id = 1 AND lower_name = 'drone-demo' ORDER BY `repository`.`id` LIMIT 1
2023/03/10 17:18:59 gogs.io/gogs/internal/db/access_tokens.go:155 record not found
[4.554ms] [rows:0] SELECT * FROM `access_token` WHERE sha256 = 'd4920526231c217dfa04ab9cc5556d4eefc1d82feaf2fbd29e790ad81a463ded' ORDER BY `access_token`.`id` LIMIT 1
2023/03/10 17:19:12 gogs.io/gogs/internal/db/access_tokens.go:155 record not found
[4.442ms] [rows:0] SELECT * FROM `access_token` WHERE sha256 = 'd4920526231c217dfa04ab9cc5556d4eefc1d82feaf2fbd29e790ad81a463ded' ORDER BY `access_token`.`id` LIMIT 1
2023/03/10 17:19:28 gogs.io/gogs/internal/db/access_tokens.go:155 record not found
[4.020ms] [rows:0] SELECT * FROM `access_token` WHERE sha256 = 'd4920526231c217dfa04ab9cc5556d4eefc1d82feaf2fbd29e790ad81a463ded' ORDER BY `access_token`.`id` LIMIT 1
2023/03/10 17:19:57 gogs.io/gogs/internal/db/access_tokens.go:155 record not found
[10.258ms] [rows:0] SELECT * FROM `access_token` WHERE sha256 = 'd4920526231c217dfa04ab9cc5556d4eefc1d82feaf2fbd29e790ad81a463ded' ORDER BY `access_token`.`id` LIMIT 1
2023/03/10 17:20:08 gogs.io/gogs/internal/db/access_tokens.go:155 record not found
[3.888ms] [rows:0] SELECT * FROM `access_token` WHERE sha256 = 'd4920526231c217dfa04ab9cc5556d4eefc1d82feaf2fbd29e790ad81a463ded' ORDER BY `access_token`.`id` LIMIT 1
2023/03/10 17:20:44 gogs.io/gogs/internal/db/access_tokens.go:97 record not found
[12.357ms] [rows:0] SELECT * FROM `access_token` WHERE uid = 1 AND name = 'drone' ORDER BY `access_token`.`id` LIMIT 1
2023/03/10 17:21:46 gogs.io/gogs/internal/db/users.go:790 record not found
[6.704ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:21:46 gogs.io/gogs/internal/db/users.go:790 record not found
[8.165ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:26:07 gogs.io/gogs/internal/db/users.go:790 record not found
[4.283ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:26:07 gogs.io/gogs/internal/db/users.go:790 record not found
[6.150ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:27:39 gogs.io/gogs/internal/db/users.go:790 record not found
[5.938ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:27:39 gogs.io/gogs/internal/db/users.go:790 record not found
[3.448ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:30:23 gogs.io/gogs/internal/db/users.go:790 record not found
[4.195ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:30:23 gogs.io/gogs/internal/db/users.go:790 record not found
[3.306ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:34:51 gogs.io/gogs/internal/db/users.go:790 record not found
[3.993ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:34:51 gogs.io/gogs/internal/db/users.go:790 record not found
[3.234ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:43:54 gogs.io/gogs/internal/db/users.go:790 record not found
[5.796ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:43:54 gogs.io/gogs/internal/db/users.go:790 record not found
[4.507ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:45:17 gogs.io/gogs/internal/db/users.go:790 record not found
[6.005ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:45:17 gogs.io/gogs/internal/db/users.go:790 record not found
[3.577ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:47:43 gogs.io/gogs/internal/db/users.go:790 record not found
[5.201ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
2023/03/10 17:47:43 gogs.io/gogs/internal/db/users.go:790 record not found
[3.840ms] [rows:0] SELECT `user`.`id`,`user`.`lower_name`,`user`.`name`,`user`.`full_name`,`user`.`email`,`user`.`passwd`,`user`.`login_source`,`user`.`login_name`,`user`.`type`,`user`.`location`,`user`.`website`,`user`.`rands`,`user`.`salt`,`user`.`created_unix`,`user`.`updated_unix`,`user`.`last_repo_visibility`,`user`.`max_repo_creation`,`user`.`is_active`,`user`.`is_admin`,`user`.`allow_git_hook`,`user`.`allow_import_local`,`user`.`prohibit_login`,`user`.`avatar`,`user`.`avatar_email`,`user`.`use_custom_avatar`,`user`.`num_followers`,`user`.`num_following`,`user`.`num_stars`,`user`.`num_repos`,`user`.`description`,`user`.`num_teams`,`user`.`num_members` FROM `user` LEFT JOIN email_address ON email_address.uid = user.id WHERE user.type = '0' AND ((user.email = '857@qq.com' AND user.is_active = true) OR (email_address.email = '857@qq.com' AND email_address.is_activated = true)) ORDER BY `user`.`id` LIMIT 1
