RackTables/0_16_1/Result/Rack.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_1::Result::Rack;
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_1::Result::Rack
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<Rack>
31  
32 =cut
33  
34 __PACKAGE__->table("Rack");
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 deleted
52  
53 data_type: 'enum'
54 default_value: 'no'
55 extra: {list => ["yes","no"]}
56 is_nullable: 0
57  
58 =head2 row_id
59  
60 data_type: 'integer'
61 default_value: 1
62 extra: {unsigned => 1}
63 is_nullable: 0
64  
65 =head2 height
66  
67 data_type: 'tinyint'
68 default_value: 42
69 extra: {unsigned => 1}
70 is_nullable: 0
71  
72 =head2 comment
73  
74 data_type: 'text'
75 is_nullable: 1
76  
77 =head2 thumb_data
78  
79 data_type: 'blob'
80 is_nullable: 1
81  
82 =cut
83  
84 __PACKAGE__->add_columns(
85 "id",
86 {
87 data_type => "integer",
88 extra => { unsigned => 1 },
89 is_auto_increment => 1,
90 is_nullable => 0,
91 },
92 "name",
93 { data_type => "char", is_nullable => 1, size => 255 },
94 "deleted",
95 {
96 data_type => "enum",
97 default_value => "no",
98 extra => { list => ["yes", "no"] },
99 is_nullable => 0,
100 },
101 "row_id",
102 {
103 data_type => "integer",
104 default_value => 1,
105 extra => { unsigned => 1 },
106 is_nullable => 0,
107 },
108 "height",
109 {
110 data_type => "tinyint",
111 default_value => 42,
112 extra => { unsigned => 1 },
113 is_nullable => 0,
114 },
115 "comment",
116 { data_type => "text", is_nullable => 1 },
117 "thumb_data",
118 { data_type => "blob", is_nullable => 1 },
119 );
120  
121 =head1 PRIMARY KEY
122  
123 =over 4
124  
125 =item * L</id>
126  
127 =back
128  
129 =cut
130  
131 __PACKAGE__->set_primary_key("id");
132  
133 =head1 UNIQUE CONSTRAINTS
134  
135 =head2 C<name_in_row>
136  
137 =over 4
138  
139 =item * L</row_id>
140  
141 =item * L</name>
142  
143 =back
144  
145 =cut
146  
147 __PACKAGE__->add_unique_constraint("name_in_row", ["row_id", "name"]);
148  
149  
150 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:04:55
151 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XRlWMun39n3k+xUrX/zUHw
152  
153  
154 # You can replace this text with custom code or comments, and it will be preserved on regeneration
155 1;