summaryrefslogtreecommitdiff
path: root/migrations/20241030213852_token_login_index.sql
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-30 17:42:36 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-30 17:42:36 -0400
commit73f58f2c648a48019c611a4659d882223e4432d4 (patch)
tree0de9f40c3e868e3e61804b3747c95867353c23f3 /migrations/20241030213852_token_login_index.sql
parent06c839436900ce07ec5c53175b01f3c5011e507c (diff)
Index to support mass invalidation of tokens during password change.
Diffstat (limited to 'migrations/20241030213852_token_login_index.sql')
-rw-r--r--migrations/20241030213852_token_login_index.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/migrations/20241030213852_token_login_index.sql b/migrations/20241030213852_token_login_index.sql
new file mode 100644
index 0000000..7e57846
--- /dev/null
+++ b/migrations/20241030213852_token_login_index.sql
@@ -0,0 +1,2 @@
+create index token_login
+on token (login);