blib/lib/App/Netdisco/DB/Result/NetmapPositions.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use utf8;
2 package App::Netdisco::DB::Result::NetmapPositions;
3  
4 use strict;
5 use warnings;
6  
7 use base 'App::Netdisco::DB::Result';
8 __PACKAGE__->table("netmap_positions");
9 __PACKAGE__->add_columns(
10 "id",
11 { data_type => "integer", is_nullable => 0, is_auto_increment => 1 },
12 "device",
13 { data_type => "inet", is_nullable => 1 },
14 "host_groups",
15 { data_type => "text[]", is_nullable => 0 },
16 "locations",
17 { data_type => "text[]", is_nullable => 0 },
18 "vlan",
19 { data_type => "integer", is_nullable => 0, default => 0 },
20 "depth",
21 { data_type => "integer", is_nullable => 0, default => 0 },
22 "positions",
23 { data_type => "text", is_nullable => 0 },
24 );
25  
26 __PACKAGE__->set_primary_key("id");
27  
28 1;