Migrations: generate unset user keys
authorHélène <pleroma-dev@helene.moe>
Mon, 5 Sep 2022 01:51:35 +0000 (03:51 +0200)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Sun, 11 Sep 2022 18:53:31 +0000 (19:53 +0100)
commitb6891fe190d3ae186d777ab34c4778c5f48fa18a
tree344079241ec0b376a962df04175674073cb2dafc
parente88f36f72b5317debafcc4209b91eb35ad8f0691
Migrations: generate unset user keys

User keys are now generated on user creation instead of "when needed",
to prevent race conditions in federation and a few other issues. This
migration will generate keys missing for local users.
priv/repo/migrations/20220905011454_generate_unset_user_keys.exs [new file with mode: 0644]