Add db index for post.url column (#2929)

* Add db index for post.url column

As mentioned in https://github.com/LemmyNet/lemmy/issues/2877#issuecomment-1576439829

Not sure if its preferable to do this, or make a combined index
which includes post.nsfw, post.removed, post.deleted

* remove unique
pull/2705/head^2
Nutomic 1 year ago committed by GitHub
parent 9419dd7c05
commit 1c9f0c2bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
create index idx_post_url on post(url);
Loading…
Cancel
Save