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

17 lines
458 B
MySQL
Raw Permalink Normal View History

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);