-- Revert profession-specific tables
DROP TABLE IF EXISTS catering_service_profiles;
DROP TABLE IF EXISTS fitness_trainer_profiles;
DROP TABLE IF EXISTS social_media_manager_profiles;
DROP TABLE IF EXISTS graphic_designer_profiles;
DROP TABLE IF EXISTS video_editor_profiles;
DROP TABLE IF EXISTS developer_profiles;
DROP TABLE IF EXISTS makeup_artist_profiles;
DROP TABLE IF EXISTS tutor_profiles;
DROP TABLE IF EXISTS photographer_profiles;

-- Revert portfolio/services/lead_requests foreign key additions
ALTER TABLE portfolio_items DROP COLUMN IF EXISTS user_id;
ALTER TABLE portfolio_items DROP COLUMN IF EXISTS profession_key;

ALTER TABLE services DROP COLUMN IF EXISTS user_id;
ALTER TABLE services DROP COLUMN IF EXISTS profession_key;

ALTER TABLE lead_requests DROP COLUMN IF EXISTS professional_user_id;
