line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
3
|
|
|
3
|
|
1427
|
use utf8; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
16
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader |
4
|
|
|
|
|
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
Perl5::CoreSmokeDB::Schema::Result::FailureForEnv |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=cut |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use strict; |
13
|
3
|
|
|
3
|
|
114
|
use warnings; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
53
|
|
14
|
3
|
|
|
3
|
|
14
|
|
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
67
|
|
15
|
|
|
|
|
|
|
use base 'DBIx::Class::Core'; |
16
|
3
|
|
|
3
|
|
16
|
|
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
637
|
|
17
|
|
|
|
|
|
|
=head1 COMPONENTS LOADED |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=over 4 |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=item * L<DBIx::Class::InflateColumn::DateTime> |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=back |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=cut |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__PACKAGE__->load_components("InflateColumn::DateTime"); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 TABLE: C<failures_for_env> |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__PACKAGE__->table("failures_for_env"); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 ACCESSORS |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head2 result_id |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
data_type: 'integer' |
40
|
|
|
|
|
|
|
is_foreign_key: 1 |
41
|
|
|
|
|
|
|
is_nullable: 0 |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 failure_id |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
data_type: 'integer' |
46
|
|
|
|
|
|
|
is_foreign_key: 1 |
47
|
|
|
|
|
|
|
is_nullable: 0 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=cut |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
52
|
|
|
|
|
|
|
"result_id", |
53
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
54
|
|
|
|
|
|
|
"failure_id", |
55
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 UNIQUE CONSTRAINTS |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 C<failures_for_env_result_id_failure_id_key> |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=over 4 |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=item * L</result_id> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=item * L</failure_id> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=back |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint( |
73
|
|
|
|
|
|
|
"failures_for_env_result_id_failure_id_key", |
74
|
|
|
|
|
|
|
["result_id", "failure_id"], |
75
|
|
|
|
|
|
|
); |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 RELATIONS |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 failure |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Type: belongs_to |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Related object: L<Perl5::CoreSmokeDB::Schema::Result::Failure> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
88
|
|
|
|
|
|
|
"failure", |
89
|
|
|
|
|
|
|
"Perl5::CoreSmokeDB::Schema::Result::Failure", |
90
|
|
|
|
|
|
|
{ id => "failure_id" }, |
91
|
|
|
|
|
|
|
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" }, |
92
|
|
|
|
|
|
|
); |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head2 result |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Type: belongs_to |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
Related object: L<Perl5::CoreSmokeDB::Schema::Result::Result> |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
103
|
|
|
|
|
|
|
"result", |
104
|
|
|
|
|
|
|
"Perl5::CoreSmokeDB::Schema::Result::Result", |
105
|
|
|
|
|
|
|
{ id => "result_id" }, |
106
|
|
|
|
|
|
|
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" }, |
107
|
|
|
|
|
|
|
); |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-06 09:15:22 |
111
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:s/llMes/nmwNe5cYf1TFeA |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 $record->as_hashref |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Returns a HashRef with the inflated columns. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=cut |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
my $self = shift; |
120
|
|
|
|
|
|
|
|
121
|
0
|
|
|
0
|
1
|
|
my $record = { $self->get_inflated_columns }; |
122
|
|
|
|
|
|
|
|
123
|
0
|
|
|
|
|
|
return $record; |
124
|
|
|
|
|
|
|
} |
125
|
0
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
1; |