CREATE TABLE IF NOT EXISTS photographer_profiles ( id UUID PRIMARY KEY DEFAULT gen_random_uuid(), user_id UUID NOT NULL REFERENCES users(id) ON DELETE CASCADE, -- Photographer Specific Fields portfolio_url VARCHAR(255), equipment_list TEXT, years_of_experience INT, hourly_rate INTEGER, -- in paise (INR × 100) specialties TEXT[], -- e.g., ["wedding", "portrait", "commercial"] created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), -- Ensure a user can only have one photographer profile UNIQUE(user_id) );