Skip to content
Snippets Groups Projects
Commit 558f3d37 authored by Neil Johnson's avatar Neil Johnson
Browse files

create index in background

parent c379acd4
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,13 @@ class RegistrationStore(RegistrationWorkerStore,
columns=["user_id", "device_id"],
)
self.register_background_index_update(
"users_creation_ts",
index_name="users_creation_ts",
table="users",
columns=["creation_ts"],
)
# we no longer use refresh tokens, but it's possible that some people
# might have a background update queued to build this index. Just
# clear the background update.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment