line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tapper::Schema::TestrunDB::Result::ChartTinyUrlLines; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TAPPER'; |
3
|
|
|
|
|
|
|
$Tapper::Schema::TestrunDB::Result::ChartTinyUrlLines::VERSION = '5.0.11'; |
4
|
|
|
|
|
|
|
# ABSTRACT: Tapper - Keep static Chart Url lines for Tapper-Reports-Web-GUI |
5
|
|
|
|
|
|
|
|
6
|
7
|
|
|
7
|
|
3690
|
use strict; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
182
|
|
7
|
7
|
|
|
7
|
|
32
|
use warnings; |
|
7
|
|
|
|
|
1105
|
|
|
7
|
|
|
|
|
175
|
|
8
|
|
|
|
|
|
|
|
9
|
7
|
|
|
7
|
|
33
|
use parent 'DBIx::Class'; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
41
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
__PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); |
12
|
|
|
|
|
|
|
__PACKAGE__->table('chart_tiny_url_lines'); |
13
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
14
|
|
|
|
|
|
|
'chart_tiny_url_line_id', { |
15
|
|
|
|
|
|
|
data_type => 'INT', |
16
|
|
|
|
|
|
|
default_value => undef, |
17
|
|
|
|
|
|
|
is_nullable => 0, |
18
|
|
|
|
|
|
|
size => 12, |
19
|
|
|
|
|
|
|
is_auto_increment => 1, |
20
|
|
|
|
|
|
|
extra => { |
21
|
|
|
|
|
|
|
unsigned => 1, |
22
|
|
|
|
|
|
|
}, |
23
|
|
|
|
|
|
|
}, |
24
|
|
|
|
|
|
|
'chart_tiny_url_id', { |
25
|
|
|
|
|
|
|
data_type => 'INT', |
26
|
|
|
|
|
|
|
default_value => undef, |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
size => 12, |
29
|
|
|
|
|
|
|
is_foreign_key => 1, |
30
|
|
|
|
|
|
|
extra => { |
31
|
|
|
|
|
|
|
unsigned => 1, |
32
|
|
|
|
|
|
|
}, |
33
|
|
|
|
|
|
|
}, |
34
|
|
|
|
|
|
|
'chart_line_id', { |
35
|
|
|
|
|
|
|
data_type => 'INT', |
36
|
|
|
|
|
|
|
default_value => undef, |
37
|
|
|
|
|
|
|
is_nullable => 0, |
38
|
|
|
|
|
|
|
size => 12, |
39
|
|
|
|
|
|
|
is_foreign_key => 1, |
40
|
|
|
|
|
|
|
extra => { |
41
|
|
|
|
|
|
|
unsigned => 1, |
42
|
|
|
|
|
|
|
}, |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
); |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
(my $basepkg = __PACKAGE__) =~ s/::\w+$//; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key( |
49
|
|
|
|
|
|
|
'chart_tiny_url_line_id', |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
53
|
|
|
|
|
|
|
chart_tiny_url => "${basepkg}::ChartTinyUrls", { 'foreign.chart_tiny_url_id' => 'self.chart_tiny_url_id' }, |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
56
|
|
|
|
|
|
|
chart_line => "${basepkg}::ChartLines", { 'foreign.chart_line_id' => 'self.chart_line_id' }, |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
__PACKAGE__->has_many ( |
59
|
|
|
|
|
|
|
chart_tiny_url_relation => "${basepkg}::ChartTinyUrlRelations", { 'foreign.chart_tiny_url_line_id' => 'self.chart_tiny_url_line_id' }, |
60
|
|
|
|
|
|
|
); |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
1; |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
__END__ |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=pod |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=encoding UTF-8 |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 NAME |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Tapper::Schema::TestrunDB::Result::ChartTinyUrlLines - Tapper - Keep static Chart Url lines for Tapper-Reports-Web-GUI |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 AUTHORS |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=over 4 |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=item * |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
AMD OSRC Tapper Team <tapper@amd64.org> |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=item * |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Tapper Team <tapper-ops@amazon.com> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=back |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
This software is Copyright (c) 2019 by Advanced Micro Devices, Inc.. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
This is free software, licensed under: |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=cut |