Skip to content

Commit

Permalink
Revert "refactor: consolidate postgres indices"
Browse files Browse the repository at this point in the history
This reverts commit 274d5ce.

reverting for now due to: #813
  • Loading branch information
peterhaochen47 committed Nov 11, 2024
1 parent 030302a commit 873bc6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ constructor(
" SELECT credential_uuid, max(version_created_at) AS max_version_created_at\n" +
" FROM credential_version\n" +
" GROUP BY credential_uuid) AS credential_uuid_of_max_version_created_at\n" +
" INNER JOIN (SELECT * FROM credential WHERE name_lowercase LIKE lower(?)) AS name\n" +
" INNER JOIN (SELECT * FROM credential WHERE lower(name) LIKE lower(?)) AS name\n" +
" ON credential_uuid_of_max_version_created_at.credential_uuid = name.uuid\n" +
" INNER JOIN credential_version AS latest_credential_version\n" +
" ON latest_credential_version.credential_uuid =\n" +
Expand Down

0 comments on commit 873bc6d

Please sign in to comment.