RackTables/0_20_11/Result/PatchCableHeapLog.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_11/Result/PatchCableHeap.pm ↑ Summary RackTables/0_20_11/Result/PatchCableOIFCompat.pm »
1 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_20_11::Result::PatchCableHeapLog;
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_11::Result::PatchCableHeapLog
10  
11 =cut
12  
13 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 2 ▶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 2 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<PatchCableHeapLog>
31  
32 =cut
33  
34 2 __PACKAGE__->table("PatchCableHeapLog");
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 heap_id
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_foreign_key: 1
50 is_nullable: 0
51  
52 =head2 date
53  
54 data_type: 'datetime'
55 datetime_undef_if_invalid: 1
56 is_nullable: 0
57  
58 =head2 user
59  
60 data_type: 'char'
61 is_nullable: 0
62 size: 64
63  
64 =head2 message
65  
66 data_type: 'char'
67 is_nullable: 0
68 size: 255
69  
70 =cut
71  
72 2 __PACKAGE__->add_columns(
73 "id",
74 {
75 data_type => "integer",
76 extra => { unsigned => 1 },
77 is_auto_increment => 1,
78 is_nullable => 0,
79 },
80 "heap_id",
81 {
82 data_type => "integer",
83 extra => { unsigned => 1 },
84 is_foreign_key => 1,
85 is_nullable => 0,
86 },
87 "date",
88 {
89 data_type => "datetime",
90 datetime_undef_if_invalid => 1,
91 is_nullable => 0,
92 },
93 "user",
94 { data_type => "char", is_nullable => 0, size => 64 },
95 "message",
96 { data_type => "char", is_nullable => 0, size => 255 },
97 );
98  
99 =head1 PRIMARY KEY
100  
101 =over 4
102  
103 =item * L</id>
104  
105 =back
106  
107 =cut
108  
109 2 __PACKAGE__->set_primary_key("id");
110  
111 =head1 RELATIONS
112  
113 =head2 heap
114  
115 Type: belongs_to
116  
117 Related object: L<Schema::RackTables::0_20_11::Result::PatchCableHeap>
118  
119 =cut
120  
121 2 __PACKAGE__->belongs_to(
122 "heap",
123 "Schema::RackTables::0_20_11::Result::PatchCableHeap",
124 { id => "heap_id" },
125 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
126 );
127  
128  
129 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2016-05-12 22:07:10
130 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yj1NNnUl0C4bQIKxfpBEfQ
131  
132  
133 # You can replace this text with custom code or comments, and it will be preserved on regeneration
134 2 1;
« RackTables/0_20_11/Result/PatchCableHeap.pm ↑ Summary RackTables/0_20_11/Result/PatchCableOIFCompat.pm »