RackTables/0_18_1/Result/IPv4Address.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_18_1::Result::IPv4Address;
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_18_1::Result::IPv4Address
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<IPv4Address>
31  
32 =cut
33  
34 __PACKAGE__->table("IPv4Address");
35  
36 =head1 ACCESSORS
37  
38 =head2 ip
39  
40 data_type: 'integer'
41 default_value: 0
42 extra: {unsigned => 1}
43 is_nullable: 0
44  
45 =head2 name
46  
47 data_type: 'char'
48 default_value: (empty string)
49 is_nullable: 0
50 size: 255
51  
52 =head2 reserved
53  
54 data_type: 'enum'
55 extra: {list => ["yes","no"]}
56 is_nullable: 1
57  
58 =cut
59  
60 __PACKAGE__->add_columns(
61 "ip",
62 {
63 data_type => "integer",
64 default_value => 0,
65 extra => { unsigned => 1 },
66 is_nullable => 0,
67 },
68 "name",
69 { data_type => "char", default_value => "", is_nullable => 0, size => 255 },
70 "reserved",
71 {
72 data_type => "enum",
73 extra => { list => ["yes", "no"] },
74 is_nullable => 1,
75 },
76 );
77  
78 =head1 PRIMARY KEY
79  
80 =over 4
81  
82 =item * L</ip>
83  
84 =back
85  
86 =cut
87  
88 __PACKAGE__->set_primary_key("ip");
89  
90  
91 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:03:39
92 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:z8D6dTG6t11OYl4WESo/4A
93  
94  
95 # You can replace this text with custom code or comments, and it will be preserved on regeneration
96 1;