rename ports column in device table to be num_ports

This commit is contained in:
Oliver Gorwits
2020-04-18 16:50:49 +01:00
parent 11e8d7c001
commit 4f57a4d30a
5 changed files with 17 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ __PACKAGE__->add_columns(
{ data_type => "text", is_nullable => 1 },
"layers",
{ data_type => "varchar", is_nullable => 1, size => 8 },
"ports",
"num_ports",
{ data_type => "integer", is_serializable => 0, is_nullable => 1 },
"mac",
{ data_type => "macaddr", is_nullable => 1 },