RackTables/0_18_2/Result/IPv4LB.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 24 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_2::Result::IPv4LB;
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_2::Result::IPv4LB
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<IPv4LB>
31  
32 =cut
33  
34 __PACKAGE__->table("IPv4LB");
35  
36 =head1 ACCESSORS
37  
38 =head2 object_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_foreign_key: 1
43 is_nullable: 1
44  
45 =head2 rspool_id
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_foreign_key: 1
50 is_nullable: 1
51  
52 =head2 vs_id
53  
54 data_type: 'integer'
55 extra: {unsigned => 1}
56 is_foreign_key: 1
57 is_nullable: 1
58  
59 =head2 vsconfig
60  
61 data_type: 'text'
62 is_nullable: 1
63  
64 =head2 rsconfig
65  
66 data_type: 'text'
67 is_nullable: 1
68  
69 =cut
70  
71 __PACKAGE__->add_columns(
72 "object_id",
73 {
74 data_type => "integer",
75 extra => { unsigned => 1 },
76 is_foreign_key => 1,
77 is_nullable => 1,
78 },
79 "rspool_id",
80 {
81 data_type => "integer",
82 extra => { unsigned => 1 },
83 is_foreign_key => 1,
84 is_nullable => 1,
85 },
86 "vs_id",
87 {
88 data_type => "integer",
89 extra => { unsigned => 1 },
90 is_foreign_key => 1,
91 is_nullable => 1,
92 },
93 "vsconfig",
94 { data_type => "text", is_nullable => 1 },
95 "rsconfig",
96 { data_type => "text", is_nullable => 1 },
97 );
98  
99 =head1 UNIQUE CONSTRAINTS
100  
101 =head2 C<LB-VS>
102  
103 =over 4
104  
105 =item * L</object_id>
106  
107 =item * L</vs_id>
108  
109 =back
110  
111 =cut
112  
113 __PACKAGE__->add_unique_constraint("LB-VS", ["object_id", "vs_id"]);
114  
115 =head1 RELATIONS
116  
117 =head2 object
118  
119 Type: belongs_to
120  
121 Related object: L<Schema::RackTables::0_18_2::Result::RackObject>
122  
123 =cut
124  
125 __PACKAGE__->belongs_to(
126 "object",
127 "Schema::RackTables::0_18_2::Result::RackObject",
128 { id => "object_id" },
129 {
130 is_deferrable => 1,
131 join_type => "LEFT",
132 on_delete => "RESTRICT",
133 on_update => "RESTRICT",
134 },
135 );
136  
137 =head2 rspool
138  
139 Type: belongs_to
140  
141 Related object: L<Schema::RackTables::0_18_2::Result::IPv4RSPool>
142  
143 =cut
144  
145 __PACKAGE__->belongs_to(
146 "rspool",
147 "Schema::RackTables::0_18_2::Result::IPv4RSPool",
148 { id => "rspool_id" },
149 {
150 is_deferrable => 1,
151 join_type => "LEFT",
152 on_delete => "RESTRICT",
153 on_update => "RESTRICT",
154 },
155 );
156  
157 =head2 v
158  
159 Type: belongs_to
160  
161 Related object: L<Schema::RackTables::0_18_2::Result::IPv4VS>
162  
163 =cut
164  
165 __PACKAGE__->belongs_to(
166 "v",
167 "Schema::RackTables::0_18_2::Result::IPv4VS",
168 { id => "vs_id" },
169 {
170 is_deferrable => 1,
171 join_type => "LEFT",
172 on_delete => "RESTRICT",
173 on_update => "RESTRICT",
174 },
175 );
176  
177  
178 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:03:33
179 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eb39/1Rli20QjX2LI+77ug
180  
181  
182 # You can replace this text with custom code or comments, and it will be preserved on regeneration
183 1;