internal/store/migrations/0040_login_token_index.up.sql

c10d966bf7deb48a41707bcb7cac3448e36f6900
gitbay/internal/store/migrations/0040_login_token_index.up.sql

1 lines · 77 bytes

1CREATE INDEX login_tokens_user_created ON login_tokens(user_id, created_at);