lemmy/migrations/2025-01-21-000000_interactions_per_month_schema/up.sql
andrewmoise 5240576de8
Use different counts for denominator in scaled rank for posts (#5261)
* Change 'Scaled' sort to use total interactions instead of monthly users

* Misc SQL fixes

* Fix formatting of error message

* Run rustfmt
2025-02-03 16:23:00 -05:00

4 lines
132 B
SQL

-- Add the interactions_month column
ALTER TABLE community_aggregates
ADD COLUMN interactions_month bigint NOT NULL DEFAULT 0;