RackTables/0_17_5/Result/IPv4Allocation.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 use utf8;
2 package Schema::RackTables::0_17_5::Result::IPv4Allocation;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7 =head1 NAME
8  
9 Schema::RackTables::0_17_5::Result::IPv4Allocation
10  
11 =cut
12  
13 use strict;
14 use warnings;
15  
16 use base 'DBIx::Class::Core';
17  
18 =head1 COMPONENTS LOADED
19  
20 =over 4
21  
22 =item * L<DBIx::Class::InflateColumn::DateTime>
23  
24 =back
25  
26 =cut
27  
28 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<IPv4Allocation>
31  
32 =cut
33  
34 __PACKAGE__->table("IPv4Allocation");
35  
36 =head1 ACCESSORS
37  
38 =head2 object_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_nullable: 0
43  
44 =head2 ip
45  
46 data_type: 'integer'
47 extra: {unsigned => 1}
48 is_nullable: 0
49  
50 =head2 name
51  
52 data_type: 'char'
53 is_nullable: 0
54 size: 255
55  
56 =head2 type
57  
58 data_type: 'enum'
59 extra: {list => ["regular","shared","virtual","router"]}
60 is_nullable: 1
61  
62 =cut
63  
64 __PACKAGE__->add_columns(
65 "object_id",
66 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
67 "ip",
68 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
69 "name",
70 { data_type => "char", is_nullable => 0, size => 255 },
71 "type",
72 {
73 data_type => "enum",
74 extra => { list => ["regular", "shared", "virtual", "router"] },
75 is_nullable => 1,
76 },
77 );
78  
79 =head1 PRIMARY KEY
80  
81 =over 4
82  
83 =item * L</object_id>
84  
85 =item * L</ip>
86  
87 =back
88  
89 =cut
90  
91 __PACKAGE__->set_primary_key("object_id", "ip");
92  
93  
94 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:04:07
95 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M7PNgh307AU3zJuItSn0bQ
96  
97  
98 # You can replace this text with custom code or comments, and it will be preserved on regeneration
99 1;