insert skeletons migration: fix for non-local locals
authorrinpatch <rinpatch@sdf.org>
Sat, 9 May 2020 15:51:20 +0000 (18:51 +0300)
committerrinpatch <rinpatch@sdf.org>
Sat, 9 May 2020 19:07:35 +0000 (22:07 +0300)
commit0ad89762a1cfdbb953a12e0434153a5e577f183a
tree79f917be3ba27de80e752db6ec3f6fdb8802f0ff
parentd73e8b6b1262d12ec27c4478ce9ec5cad76d9ebb
insert skeletons migration: fix for non-local locals

Apparently some instances have local users with local ap_ids
that are marked as local: false. Needs more investigation into how
that happened.

In the meantime, the skeleton migration was patched to just ignore
all known ap ids, not just locals. Doesn't seem to slow down the migration
too much on patch.cx

Closes #1746
CHANGELOG.md
priv/repo/migrations/20200428221338_insert_skeletons_for_deleted_users.exs