mirror of
https://github.com/discourse/discourse.git
synced 2025-04-15 09:12:55 +08:00

On some installations, this would fail with 'index row size exceeds btree version 4 maximum'. This commit replaces the (post_id, url)` index with a `(post_id, md5(url))` index, which is much more space efficient.