RackTables/0_16_2/Result/IPRealServer.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 23 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_16_2::Result::IPRealServer;
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_16_2::Result::IPRealServer
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<IPRealServer>
31  
32 =cut
33  
34 __PACKAGE__->table("IPRealServer");
35  
36 =head1 ACCESSORS
37  
38 =head2 id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_auto_increment: 1
43 is_nullable: 0
44  
45 =head2 inservice
46  
47 data_type: 'enum'
48 default_value: 'no'
49 extra: {list => ["yes","no"]}
50 is_nullable: 0
51  
52 =head2 rsip
53  
54 data_type: 'integer'
55 extra: {unsigned => 1}
56 is_nullable: 1
57  
58 =head2 rsport
59  
60 data_type: 'smallint'
61 extra: {unsigned => 1}
62 is_nullable: 1
63  
64 =head2 rspool_id
65  
66 data_type: 'integer'
67 extra: {unsigned => 1}
68 is_nullable: 1
69  
70 =head2 rsconfig
71  
72 data_type: 'text'
73 is_nullable: 1
74  
75 =cut
76  
77 __PACKAGE__->add_columns(
78 "id",
79 {
80 data_type => "integer",
81 extra => { unsigned => 1 },
82 is_auto_increment => 1,
83 is_nullable => 0,
84 },
85 "inservice",
86 {
87 data_type => "enum",
88 default_value => "no",
89 extra => { list => ["yes", "no"] },
90 is_nullable => 0,
91 },
92 "rsip",
93 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
94 "rsport",
95 { data_type => "smallint", extra => { unsigned => 1 }, is_nullable => 1 },
96 "rspool_id",
97 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
98 "rsconfig",
99 { data_type => "text", is_nullable => 1 },
100 );
101  
102 =head1 PRIMARY KEY
103  
104 =over 4
105  
106 =item * L</id>
107  
108 =back
109  
110 =cut
111  
112 __PACKAGE__->set_primary_key("id");
113  
114 =head1 UNIQUE CONSTRAINTS
115  
116 =head2 C<pool-endpoint>
117  
118 =over 4
119  
120 =item * L</rspool_id>
121  
122 =item * L</rsip>
123  
124 =item * L</rsport>
125  
126 =back
127  
128 =cut
129  
130 __PACKAGE__->add_unique_constraint("pool-endpoint", ["rspool_id", "rsip", "rsport"]);
131  
132  
133 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:04:52
134 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j01gtqa7o/no2hmsv6/Baw
135  
136  
137 # You can replace this text with custom code or comments, and it will be preserved on regeneration
138 1;