RackTables/0_14_7/Result/RackObject.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 28 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_14_7::Result::RackObject;
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_14_7::Result::RackObject
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<RackObject>
31  
32 =cut
33  
34 __PACKAGE__->table("RackObject");
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 name
46  
47 data_type: 'char'
48 is_nullable: 1
49 size: 255
50  
51 =head2 label
52  
53 data_type: 'char'
54 is_nullable: 1
55 size: 255
56  
57 =head2 barcode
58  
59 data_type: 'char'
60 is_nullable: 1
61 size: 16
62  
63 =head2 deleted
64  
65 data_type: 'enum'
66 default_value: 'no'
67 extra: {list => ["yes","no"]}
68 is_nullable: 0
69  
70 =head2 objtype_id
71  
72 data_type: 'integer'
73 default_value: 1
74 extra: {unsigned => 1}
75 is_nullable: 0
76  
77 =head2 asset_no
78  
79 data_type: 'char'
80 is_nullable: 1
81 size: 64
82  
83 =head2 has_problems
84  
85 data_type: 'enum'
86 default_value: 'no'
87 extra: {list => ["yes","no"]}
88 is_nullable: 0
89  
90 =head2 comment
91  
92 data_type: 'text'
93 is_nullable: 1
94  
95 =cut
96  
97 __PACKAGE__->add_columns(
98 "id",
99 {
100 data_type => "integer",
101 extra => { unsigned => 1 },
102 is_auto_increment => 1,
103 is_nullable => 0,
104 },
105 "name",
106 { data_type => "char", is_nullable => 1, size => 255 },
107 "label",
108 { data_type => "char", is_nullable => 1, size => 255 },
109 "barcode",
110 { data_type => "char", is_nullable => 1, size => 16 },
111 "deleted",
112 {
113 data_type => "enum",
114 default_value => "no",
115 extra => { list => ["yes", "no"] },
116 is_nullable => 0,
117 },
118 "objtype_id",
119 {
120 data_type => "integer",
121 default_value => 1,
122 extra => { unsigned => 1 },
123 is_nullable => 0,
124 },
125 "asset_no",
126 { data_type => "char", is_nullable => 1, size => 64 },
127 "has_problems",
128 {
129 data_type => "enum",
130 default_value => "no",
131 extra => { list => ["yes", "no"] },
132 is_nullable => 0,
133 },
134 "comment",
135 { data_type => "text", is_nullable => 1 },
136 );
137  
138 =head1 PRIMARY KEY
139  
140 =over 4
141  
142 =item * L</id>
143  
144 =back
145  
146 =cut
147  
148 __PACKAGE__->set_primary_key("id");
149  
150 =head1 UNIQUE CONSTRAINTS
151  
152 =head2 C<RackObject_asset_no>
153  
154 =over 4
155  
156 =item * L</asset_no>
157  
158 =back
159  
160 =cut
161  
162 __PACKAGE__->add_unique_constraint("RackObject_asset_no", ["asset_no"]);
163  
164 =head2 C<barcode>
165  
166 =over 4
167  
168 =item * L</barcode>
169  
170 =back
171  
172 =cut
173  
174 __PACKAGE__->add_unique_constraint("barcode", ["barcode"]);
175  
176 =head2 C<name>
177  
178 =over 4
179  
180 =item * L</name>
181  
182 =back
183  
184 =cut
185  
186 __PACKAGE__->add_unique_constraint("name", ["name"]);
187  
188  
189 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:05:18
190 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:leBkahw5q8YGzfWVQGBuCQ
191  
192  
193 # You can replace this text with custom code or comments, and it will be preserved on regeneration
194 1;