]> Untitled Git - lemmy.git/commit
Add db index for post.url column (#2929)
authorNutomic <me@nutomic.com>
Wed, 7 Jun 2023 15:31:24 +0000 (17:31 +0200)
committerGitHub <noreply@github.com>
Wed, 7 Jun 2023 15:31:24 +0000 (11:31 -0400)
commit1c9f0c2bed51eb240d8514d28993c5516c019afc
treebabe98a0dde3f799b694391de6a32232d30baab3
parent9419dd7c05e65ae52218da9c36002f424999889f
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
migrations/2023-06-06-104440_index_post_url/down.sql [new file with mode: 0644]
migrations/2023-06-06-104440_index_post_url/up.sql [new file with mode: 0644]