RackTables/0_18_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_18_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_18_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 default_value: 0
42 extra: {unsigned => 1}
43 is_nullable: 0
44  
45 =head2 ip
46  
47 data_type: 'integer'
48 default_value: 0
49 extra: {unsigned => 1}
50 is_nullable: 0
51  
52 =head2 name
53  
54 data_type: 'char'
55 default_value: (empty string)
56 is_nullable: 0
57 size: 255
58  
59 =head2 type
60  
61 data_type: 'enum'
62 extra: {list => ["regular","shared","virtual","router"]}
63 is_nullable: 1
64  
65 =cut
66  
67 __PACKAGE__->add_columns(
68 "object_id",
69 {
70 data_type => "integer",
71 default_value => 0,
72 extra => { unsigned => 1 },
73 is_nullable => 0,
74 },
75 "ip",
76 {
77 data_type => "integer",
78 default_value => 0,
79 extra => { unsigned => 1 },
80 is_nullable => 0,
81 },
82 "name",
83 { data_type => "char", default_value => "", is_nullable => 0, size => 255 },
84 "type",
85 {
86 data_type => "enum",
87 extra => { list => ["regular", "shared", "virtual", "router"] },
88 is_nullable => 1,
89 },
90 );
91  
92 =head1 PRIMARY KEY
93  
94 =over 4
95  
96 =item * L</object_id>
97  
98 =item * L</ip>
99  
100 =back
101  
102 =cut
103  
104 __PACKAGE__->set_primary_key("object_id", "ip");
105  
106  
107 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:03:18
108 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OGIk7K2S204kHD2cUOFbWQ
109  
110  
111 # You can replace this text with custom code or comments, and it will be preserved on regeneration
112 1;