internal/postgres: change UpsertSearchDocument ON CONFLICT to package_path_id
Now the PK has changed to package_path_id, also update the ON CONFLICT
clause on UpsertSearchDocument to match.
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
@@ -659,7 +659,7 @@ var upsertSearchStatement = fmt.Sprintf(`
AND m.module_path = $2
AND m.version = $3
LIMIT 1 -- could be multiple build contexts
- ON CONFLICT (package_path)
+ ON CONFLICT (package_path_id)
DO UPDATE SET
package_path=excluded.package_path,
version=excluded.version,
