lemmy/crates/db_views
dullbananas 4120c2fc2f
Changes to get_random_community_id: add filters for nsfw and private, use algorthm that doesn't scan the entire table (#5267)
* get_random_community_id: add filters for nsfw and private, use algorithm that doesn't scan the entire table

* only call random_smallint once for filter

* change migration date

* make random_smallint function work in postgresql 16

* replace "32768 + 32767 + 1" with "65536" and improve comments

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2025-01-16 14:16:57 -05:00
..
src Changes to get_random_community_id: add filters for nsfw and private, use algorthm that doesn't scan the entire table (#5267) 2025-01-16 14:16:57 -05:00
Cargo.toml Adding combined person content and person saved tables. (#5251) 2025-01-05 12:48:57 -05:00