mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-30 15:25:16 +01:00
70df4c3359
When using `OR` in a where clause, a composite index can't be used. We should use a `UNION` to take advantages of it. Instead, create 2 indexes on each hashed urls and make 2 queries to find an url. It'll be faster than the previous solution.