From 8a902369846e60ec36d3c2bee1d5f6af400c855d Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 5 Mar 2018 22:46:33 +0000 Subject: [PATCH] add missing col to schema --- lib/App/Netdisco/DB/Result/DevicePortProperties.pm | 2 ++ lib/App/Netdisco/DB/Result/Virtual/DeviceLinks.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/App/Netdisco/DB/Result/DevicePortProperties.pm b/lib/App/Netdisco/DB/Result/DevicePortProperties.pm index ab43fb21..c32f0460 100644 --- a/lib/App/Netdisco/DB/Result/DevicePortProperties.pm +++ b/lib/App/Netdisco/DB/Result/DevicePortProperties.pm @@ -25,6 +25,8 @@ __PACKAGE__->add_columns( { data_type => "text", is_nullable => 1 }, "remote_serial", { data_type => "text", is_nullable => 1 }, + "raw_speed", + { data_type => "bigint", is_nullable => 1 }, ); __PACKAGE__->set_primary_key("port", "ip"); diff --git a/lib/App/Netdisco/DB/Result/Virtual/DeviceLinks.pm b/lib/App/Netdisco/DB/Result/Virtual/DeviceLinks.pm index 74ede1aa..6c5c5f3d 100644 --- a/lib/App/Netdisco/DB/Result/Virtual/DeviceLinks.pm +++ b/lib/App/Netdisco/DB/Result/Virtual/DeviceLinks.pm @@ -54,7 +54,7 @@ __PACKAGE__->add_columns( data_type => '[text]', }, 'aggspeed' => { - data_type => 'integer', + data_type => 'bigint', }, 'aggports' => { data_type => 'integer',