-- 000010_notification_preferences.down.sql DROP TRIGGER IF EXISTS notification_count_trigger ON notifications; DROP FUNCTION IF EXISTS update_unread_notification_count(); ALTER TABLE notifications DROP COLUMN IF EXISTS group_key; ALTER TABLE notifications DROP COLUMN IF EXISTS priority; ALTER TABLE profiles DROP COLUMN IF EXISTS unread_notification_count; DROP TABLE IF EXISTS notification_preferences;