diff --git a/lib/App/Netdisco/DB/Result/DevicePort.pm b/lib/App/Netdisco/DB/Result/DevicePort.pm index 034754fa..e12f6290 100644 --- a/lib/App/Netdisco/DB/Result/DevicePort.pm +++ b/lib/App/Netdisco/DB/Result/DevicePort.pm @@ -175,7 +175,8 @@ device port. __PACKAGE__->might_have( properties => 'App::Netdisco::DB::Result::DevicePortProperties', { 'foreign.ip' => 'self.ip', 'foreign.port' => 'self.port', -}); + }, { join_type => 'LEFT OUTER' } +); =head2 ssid diff --git a/lib/App/Netdisco/DB/ResultSet/DevicePort.pm b/lib/App/Netdisco/DB/ResultSet/DevicePort.pm index 4b471617..84b619c6 100644 --- a/lib/App/Netdisco/DB/ResultSet/DevicePort.pm +++ b/lib/App/Netdisco/DB/ResultSet/DevicePort.pm @@ -154,6 +154,7 @@ sub delete { foreach my $set (qw/ DevicePortPower + DevicePortProperties DevicePortVlan DevicePortWireless DevicePortSsid