Skip to content

Commit 9659667

Browse files
Update packages/server/api/src/app/database/migrations/1766579857000-CreateRefreshTokenTable.ts
Co-authored-by: Marcelo Gonçalves <marcelo@openops.com>
1 parent 5497df5 commit 9659667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/api/src/app/database/migrations/1766579857000-CreateRefreshTokenTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class CreateRefreshTokenTable1766579857000
3232
`);
3333

3434
await queryRunner.query(`
35-
CREATE UNIQUE INDEX IF NOT EXISTS "idx_refresh_token_token_project_user_client_active" ON "refresh_token" ("refreshToken", "projectId", "userId", "client") WHERE "isRevoked" = false
35+
CREATE UNIQUE INDEX IF NOT EXISTS "idx_refresh_token_token_project_user_client_active" ON "refresh_token" ("projectId", "userId", "client") WHERE "isRevoked" = false
3636
`);
3737

3838
logger.info('CreateRefreshTokenTable1766579857000: completed');

0 commit comments

Comments
 (0)