ignore case on url dupe detection

This commit is contained in:
keyan 2023-01-11 15:05:30 -06:00
parent 15c76aa134
commit b7830261d8

View File

@ -486,7 +486,7 @@ export default {
return await models.$queryRaw(`
${SELECT}
FROM "Item"
WHERE url SIMILAR TO $1
WHERE LOWER(url) SIMILAR TO LOWER($1)
ORDER BY created_at DESC
LIMIT 3`, similar)
},