librariesio / libraries.io

:books: The Open Source Discovery Service
https://libraries.io
GNU Affero General Public License v3.0
1.1k stars 206 forks source link

Fix an ambiguous column ref after the repo deps refactor. #3384

Closed tiegz closed 1 month ago

tiegz commented 1 month ago

this fixes a scope that became too ambiguous after the recent refactor and removal of RepsitoryDependency:

PG::AmbiguousColumn: ERROR: column reference "repository_id" is ambiguous LINE 1: SELECT "repository_id" FROM "dependencies" INNER JOIN "versi... ^