-- Add OpenStreetMap as a default active external service for all existing organizations INSERT INTO external_services (organization_id, service_type, service_name, api_key, secret_key, config, is_active, created_at, updated_at) SELECT id, 'openstreetmap', 'OpenStreetMap (Nominatim)', NULL, NULL, NULL, true, NOW(), NOW() FROM organizations ON CONFLICT (organization_id, service_type) DO NOTHING;