line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tapper::Schema::TestrunDB::Result::ChartLineAdditionals; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TAPPER'; |
3
|
|
|
|
|
|
|
$Tapper::Schema::TestrunDB::Result::ChartLineAdditionals::VERSION = '5.0.9'; |
4
|
|
|
|
|
|
|
# ABSTRACT: Tapper - Keep additional columns for chart line popup |
5
|
|
|
|
|
|
|
|
6
|
7
|
|
|
7
|
|
2993
|
use strict; |
|
7
|
|
|
|
|
11
|
|
|
7
|
|
|
|
|
180
|
|
7
|
7
|
|
|
7
|
|
22
|
use warnings; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
150
|
|
8
|
|
|
|
|
|
|
|
9
|
7
|
|
|
7
|
|
23
|
use parent 'DBIx::Class'; |
|
7
|
|
|
|
|
5
|
|
|
7
|
|
|
|
|
36
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
__PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); |
12
|
|
|
|
|
|
|
__PACKAGE__->table('chart_line_additionals'); |
13
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
14
|
|
|
|
|
|
|
'chart_line_id', { |
15
|
|
|
|
|
|
|
data_type => 'INT', |
16
|
|
|
|
|
|
|
default_value => undef, |
17
|
|
|
|
|
|
|
is_nullable => 0, |
18
|
|
|
|
|
|
|
size => 11, |
19
|
|
|
|
|
|
|
extra => { |
20
|
|
|
|
|
|
|
unsigned => 1, |
21
|
|
|
|
|
|
|
}, |
22
|
|
|
|
|
|
|
}, |
23
|
|
|
|
|
|
|
'chart_line_additional_column', { |
24
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
25
|
|
|
|
|
|
|
default_value => undef, |
26
|
|
|
|
|
|
|
is_nullable => 0, |
27
|
|
|
|
|
|
|
size => 512, |
28
|
|
|
|
|
|
|
}, |
29
|
|
|
|
|
|
|
'chart_line_additional_url', { |
30
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
31
|
|
|
|
|
|
|
default_value => undef, |
32
|
|
|
|
|
|
|
is_nullable => 1, |
33
|
|
|
|
|
|
|
size => 1024, |
34
|
|
|
|
|
|
|
}, |
35
|
|
|
|
|
|
|
'created_at', { |
36
|
|
|
|
|
|
|
data_type => 'TIMESTAMP', |
37
|
|
|
|
|
|
|
default_value => undef, |
38
|
|
|
|
|
|
|
is_nullable => 0, |
39
|
|
|
|
|
|
|
set_on_create => 1, |
40
|
|
|
|
|
|
|
}, |
41
|
|
|
|
|
|
|
); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
(my $basepkg = __PACKAGE__) =~ s/::\w+$//; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key('chart_line_id','chart_line_additional_column'); |
47
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
48
|
|
|
|
|
|
|
chart_line => "${basepkg}::ChartLines", { 'foreign.chart_line_id' => 'self.chart_line_id' }, |
49
|
|
|
|
|
|
|
); |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
1; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
__END__ |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=pod |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=encoding UTF-8 |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 NAME |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Tapper::Schema::TestrunDB::Result::ChartLineAdditionals - Tapper - Keep additional columns for chart line popup |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 AUTHORS |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=over 4 |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
AMD OSRC Tapper Team <tapper@amd64.org> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Tapper Team <tapper-ops@amazon.com> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=back |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
This software is Copyright (c) 2017 by Advanced Micro Devices, Inc.. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
This is free software, licensed under: |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |