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