-- Phase 4 rollback: drop analytics, user prefs, and article views.

BEGIN;

DROP INDEX IF EXISTS idx_ai_article_views_user;
DROP INDEX IF EXISTS idx_ai_article_views_article;
DROP TABLE IF EXISTS ai_article_views;

DROP TABLE IF EXISTS ai_user_prefs;

DROP INDEX IF EXISTS idx_ai_daily_stats_date;
DROP TABLE IF EXISTS ai_daily_stats;

COMMIT;
