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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package App::Netdisco::DB::Result::AccessControlListName;
2 use utf8;
3 use strict;
4 use warnings;
5  
6 use base 'App::Netdisco::DB::Result';
7  
8 =head1 NAME
9  
10 App::Netdisco::DB::Result::AccessControlListName
11  
12 =head1 DESCRIPTION
13  
14 Names an ACL.
15  
16 =cut
17  
18 __PACKAGE__->table('access_control_list_name');
19  
20 __PACKAGE__->add_columns(
21 "acl_name",
22 { data_type => "text", is_nullable => 0 },
23 "acl_type",
24 { data_type => "text", is_nullable => 0 },
25 # type TEXT NOT NULL CHECK (type IN ('host', 'host_host', 'host_port')),
26 );
27  
28 __PACKAGE__->set_primary_key("acl_name");
29  
30 __PACKAGE__->has_many( mappings => 'App::Netdisco::DB::Result::AccessControlListMap',
31 { 'foreign.acl_name' => 'self.acl_name' } );
32  
33 1;