mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 07:36:01 +00:00
6e4278b1c9
* Setting rank column defaults to a small number. Fixes #4178 * Fixing tests.
12 lines
335 B
SQL
12 lines
335 B
SQL
ALTER TABLE community_aggregates
|
|
ALTER COLUMN hot_rank SET DEFAULT 0.1728;
|
|
|
|
ALTER TABLE comment_aggregates
|
|
ALTER COLUMN hot_rank SET DEFAULT 0.1728;
|
|
|
|
ALTER TABLE post_aggregates
|
|
ALTER COLUMN hot_rank SET DEFAULT 0.1728,
|
|
ALTER COLUMN hot_rank_active SET DEFAULT 0.1728,
|
|
ALTER COLUMN scaled_rank SET DEFAULT 0.3621;
|
|
|