diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-04 09:53:53 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-04 09:53:53 -0400 |
| commit | 9c06d71067d5cb80ce8e50b9591eeb85d906b838 (patch) | |
| tree | 7022d1e85c96891025506d26882febf6a6ba5276 | |
| parent | 072dfa9a0bae5b7e9ea1caa97f6a90bd576a5d95 (diff) | |
Index token (issued_at) to avoid table scans on expiry
| -rw-r--r-- | migrations/20240904135137_index_token_issued_at.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migrations/20240904135137_index_token_issued_at.sql b/migrations/20240904135137_index_token_issued_at.sql new file mode 100644 index 0000000..b60f691 --- /dev/null +++ b/migrations/20240904135137_index_token_issued_at.sql @@ -0,0 +1 @@ +create index token_issued_at on token (issued_at); |
