mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
Adjust index
This commit is contained in:
@@ -26,7 +26,7 @@ export async function up(knex: Knex): Promise<void> {
|
||||
) {
|
||||
await knex.raw(`
|
||||
CREATE INDEX IF NOT EXISTS idx_identity_access_tokens_revoked CONCURRENTLY
|
||||
ON ${TableName.IdentityAccessToken} ("id")
|
||||
ON ${TableName.IdentityAccessToken} ("isAccessTokenRevoked")
|
||||
WHERE "isAccessTokenRevoked" = true
|
||||
`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user