RackTables/0_20_9/Result/RackThumbnail.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RackTables/0_20_9/Result/RackSpace.pm ↑ Summary RackTables/0_20_9/Result/Row.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_20_9::Result::RackThumbnail;
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_20_9::Result::RackThumbnail
10  
11 =cut
12  
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
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 1 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<RackThumbnail>
31  
32 =cut
33  
34 1 __PACKAGE__->table("RackThumbnail");
35  
36 =head1 ACCESSORS
37  
38 =head2 rack_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_foreign_key: 1
43 is_nullable: 0
44  
45 =head2 thumb_data
46  
47 data_type: 'blob'
48 is_nullable: 1
49  
50 =cut
51  
52 1 __PACKAGE__->add_columns(
53 "rack_id",
54 {
55 data_type => "integer",
56 extra => { unsigned => 1 },
57 is_foreign_key => 1,
58 is_nullable => 0,
59 },
60 "thumb_data",
61 { data_type => "blob", is_nullable => 1 },
62 );
63  
64 =head1 UNIQUE CONSTRAINTS
65  
66 =head2 C<rack_id>
67  
68 =over 4
69  
70 =item * L</rack_id>
71  
72 =back
73  
74 =cut
75  
76 1 __PACKAGE__->add_unique_constraint("rack_id", ["rack_id"]);
77  
78 =head1 RELATIONS
79  
80 =head2 rack
81  
82 Type: belongs_to
83  
84 Related object: L<Schema::RackTables::0_20_9::Result::Object>
85  
86 =cut
87  
88 1 __PACKAGE__->belongs_to(
89 "rack",
90 "Schema::RackTables::0_20_9::Result::Object",
91 { id => "rack_id" },
92 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
93 );
94  
95  
96 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:01
97 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:14r7axvaubrqt5Gp5IAobg
98  
99  
100 # You can replace this text with custom code or comments, and it will be preserved on regeneration
101 1 1;
« RackTables/0_20_9/Result/RackSpace.pm ↑ Summary RackTables/0_20_9/Result/Row.pm »