mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:17:32 +00:00
fix(notify): notify user in projection (#3889)
* start implement notify user in projection * fix(stmt): add copy to multi stmt * use projections for notify users * feat: notifications from projections * feat: notifications from projections * cleanup * pre-release * fix tests * fix types * fix command * fix queryNotifyUser * fix: build version * fix: HumanPasswordlessInitCodeSent Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
This commit is contained in:
@@ -20,18 +20,18 @@ var (
|
||||
", members.user_id" +
|
||||
", members.roles" +
|
||||
", projections.login_names.login_name" +
|
||||
", projections.users_humans.email" +
|
||||
", projections.users_humans.first_name" +
|
||||
", projections.users_humans.last_name" +
|
||||
", projections.users_humans.display_name" +
|
||||
", projections.users_machines.name" +
|
||||
", projections.users_humans.avatar_key" +
|
||||
", projections.users2_humans.email" +
|
||||
", projections.users2_humans.first_name" +
|
||||
", projections.users2_humans.last_name" +
|
||||
", projections.users2_humans.display_name" +
|
||||
", projections.users2_machines.name" +
|
||||
", projections.users2_humans.avatar_key" +
|
||||
", COUNT(*) OVER () " +
|
||||
"FROM projections.project_members as members " +
|
||||
"LEFT JOIN projections.users_humans " +
|
||||
"ON members.user_id = projections.users_humans.user_id " +
|
||||
"LEFT JOIN projections.users_machines " +
|
||||
"ON members.user_id = projections.users_machines.user_id " +
|
||||
"LEFT JOIN projections.users2_humans " +
|
||||
"ON members.user_id = projections.users2_humans.user_id " +
|
||||
"LEFT JOIN projections.users2_machines " +
|
||||
"ON members.user_id = projections.users2_machines.user_id " +
|
||||
"LEFT JOIN projections.login_names " +
|
||||
"ON members.user_id = projections.login_names.user_id " +
|
||||
"WHERE projections.login_names.is_primary = $1")
|
||||
|
Reference in New Issue
Block a user