lemmy/migrations/2021-01-27-202728_active_us.../down.sql

17 lines
458 B
SQL

ALTER TABLE site_aggregates
DROP COLUMN users_active_day,
DROP COLUMN users_active_week,
DROP COLUMN users_active_month,
DROP COLUMN users_active_half_year;
ALTER TABLE community_aggregates
DROP COLUMN users_active_day,
DROP COLUMN users_active_week,
DROP COLUMN users_active_month,
DROP COLUMN users_active_half_year;
DROP FUNCTION site_aggregates_activity (i text);
DROP FUNCTION community_aggregates_activity (i text);