-- 000011_tagging_system.down.sql

DROP TRIGGER IF EXISTS hashtag_count_trigger ON post_hashtags;
DROP FUNCTION IF EXISTS update_hashtag_count();
DROP FUNCTION IF EXISTS calculate_trending_scores();

DROP TABLE IF EXISTS suggested_users;
DROP TABLE IF EXISTS trending_hashtags;
DROP TABLE IF EXISTS post_mentions;
DROP TABLE IF EXISTS hashtag_follows;
DROP TABLE IF EXISTS post_hashtags;
DROP TABLE IF EXISTS hashtags;
