From 73f58f2c648a48019c611a4659d882223e4432d4 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Wed, 30 Oct 2024 17:42:36 -0400
Subject: Index to support mass invalidation of tokens during password change.

---
 migrations/20241030213852_token_login_index.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 migrations/20241030213852_token_login_index.sql

(limited to 'migrations/20241030213852_token_login_index.sql')

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);
-- 
cgit v1.2.3

