RackTables/0_19_1/Result/RackObjectHistory.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_19_1::Result::RackObjectHistory;
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_19_1::Result::RackObjectHistory
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<RackObjectHistory>
31  
32 =cut
33  
34 __PACKAGE__->table("RackObjectHistory");
35  
36 =head1 ACCESSORS
37  
38 =head2 id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_foreign_key: 1
43 is_nullable: 1
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 objtype_id
58  
59 data_type: 'integer'
60 extra: {unsigned => 1}
61 is_nullable: 1
62  
63 =head2 asset_no
64  
65 data_type: 'char'
66 is_nullable: 1
67 size: 64
68  
69 =head2 has_problems
70  
71 data_type: 'enum'
72 default_value: 'no'
73 extra: {list => ["yes","no"]}
74 is_nullable: 0
75  
76 =head2 comment
77  
78 data_type: 'text'
79 is_nullable: 1
80  
81 =head2 ctime
82  
83 data_type: 'timestamp'
84 datetime_undef_if_invalid: 1
85 default_value: current_timestamp
86 is_nullable: 0
87  
88 =head2 user_name
89  
90 data_type: 'char'
91 is_nullable: 1
92 size: 64
93  
94 =cut
95  
96 __PACKAGE__->add_columns(
97 "id",
98 {
99 data_type => "integer",
100 extra => { unsigned => 1 },
101 is_foreign_key => 1,
102 is_nullable => 1,
103 },
104 "name",
105 { data_type => "char", is_nullable => 1, size => 255 },
106 "label",
107 { data_type => "char", is_nullable => 1, size => 255 },
108 "objtype_id",
109 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
110 "asset_no",
111 { data_type => "char", is_nullable => 1, size => 64 },
112 "has_problems",
113 {
114 data_type => "enum",
115 default_value => "no",
116 extra => { list => ["yes", "no"] },
117 is_nullable => 0,
118 },
119 "comment",
120 { data_type => "text", is_nullable => 1 },
121 "ctime",
122 {
123 data_type => "timestamp",
124 datetime_undef_if_invalid => 1,
125 default_value => \"current_timestamp",
126 is_nullable => 0,
127 },
128 "user_name",
129 { data_type => "char", is_nullable => 1, size => 64 },
130 );
131  
132 =head1 RELATIONS
133  
134 =head2 id
135  
136 Type: belongs_to
137  
138 Related object: L<Schema::RackTables::0_19_1::Result::RackObject>
139  
140 =cut
141  
142 __PACKAGE__->belongs_to(
143 "id",
144 "Schema::RackTables::0_19_1::Result::RackObject",
145 { id => "id" },
146 {
147 is_deferrable => 1,
148 join_type => "LEFT",
149 on_delete => "CASCADE",
150 on_update => "RESTRICT",
151 },
152 );
153  
154  
155 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:02:57
156 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wC1+Z+JBIMIx+5SwajCsQA
157  
158  
159 # You can replace this text with custom code or comments, and it will be preserved on regeneration
160 1;