GenerateUnsetUserKeys: only select necessary user fields
This commit is contained in:
parent
9137089895
commit
f6afe649fe
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def change do
|
|||
from(u in User,
|
||||
where: u.local == true,
|
||||
where: is_nil(u.keys),
|
||||
select: u
|
||||
select: struct(u, [:id, :keys])
|
||||
)
|
||||
|
||||
Repo.stream(query)
|
||||
|
|
Loading…
Reference in a new issue