lib/Test2/Harness/UI/Schema/PostgreSQL/Reporting.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Test2/Harness/UI/Schema/PostgreSQL/Project.pm ↑ Summary lib/Test2/Harness/UI/Schema/PostgreSQL/Resource.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Test2::Harness::UI::Schema::Result::Reporting;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY ANY PART OF THIS FILE
6  
7 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use base 'Test2::Harness::UI::Schema::ResultBase';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 __PACKAGE__->load_components(
12 "InflateColumn::DateTime",
13 "InflateColumn::Serializer",
14 "InflateColumn::Serializer::JSON",
15 "Tree::AdjacencyList",
16 "UUIDColumns",
17 );
18 1 __PACKAGE__->table("reporting");
19 1 __PACKAGE__->add_columns(
20 "reporting_id",
21 {
22 data_type => "uuid",
23 default_value => \"uuid_generate_v4()",
24 is_nullable => 0,
25 size => 16,
26 },
27 "run_ord",
28 { data_type => "bigint", is_nullable => 0 },
29 "job_try",
30 { data_type => "integer", is_nullable => 1 },
31 "subtest",
32 {
33 data_type => "varchar",
34 default_value => \"null",
35 is_nullable => 1,
36 size => 512,
37 },
38 "duration",
39 { data_type => "double precision", is_nullable => 0 },
40 "fail",
41 { data_type => "smallint", default_value => 0, is_nullable => 0 },
42 "pass",
43 { data_type => "smallint", default_value => 0, is_nullable => 0 },
44 "retry",
45 { data_type => "smallint", default_value => 0, is_nullable => 0 },
46 "abort",
47 { data_type => "smallint", default_value => 0, is_nullable => 0 },
48 "project_id",
49 { data_type => "uuid", is_foreign_key => 1, is_nullable => 0, size => 16 },
50 "run_id",
51 { data_type => "uuid", is_foreign_key => 1, is_nullable => 0, size => 16 },
52 "user_id",
53 { data_type => "uuid", is_foreign_key => 1, is_nullable => 0, size => 16 },
54 "job_key",
55 { data_type => "uuid", is_foreign_key => 1, is_nullable => 1, size => 16 },
56 "test_file_id",
57 { data_type => "uuid", is_foreign_key => 1, is_nullable => 1, size => 16 },
58 "event_id",
59 { data_type => "uuid", is_foreign_key => 1, is_nullable => 1, size => 16 },
60 );
61 1 __PACKAGE__->set_primary_key("reporting_id");
62 1 __PACKAGE__->belongs_to(
63 "event",
64 "Test2::Harness::UI::Schema::Result::Event",
65 { event_id => "event_id" },
66 {
67 is_deferrable => 0,
68 join_type => "LEFT",
69 on_delete => "NO ACTION",
70 on_update => "NO ACTION",
71 },
72 );
73 1 __PACKAGE__->belongs_to(
74 "job_key",
75 "Test2::Harness::UI::Schema::Result::Job",
76 { job_key => "job_key" },
77 {
78 is_deferrable => 0,
79 join_type => "LEFT",
80 on_delete => "NO ACTION",
81 on_update => "NO ACTION",
82 },
83 );
84 1 __PACKAGE__->belongs_to(
85 "project",
86 "Test2::Harness::UI::Schema::Result::Project",
87 { project_id => "project_id" },
88 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
89 );
90 1 __PACKAGE__->belongs_to(
91 "run",
92 "Test2::Harness::UI::Schema::Result::Run",
93 { run_id => "run_id" },
94 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
95 );
96 1 __PACKAGE__->belongs_to(
97 "test_file",
98 "Test2::Harness::UI::Schema::Result::TestFile",
99 { test_file_id => "test_file_id" },
100 {
101 is_deferrable => 0,
102 join_type => "LEFT",
103 on_delete => "NO ACTION",
104 on_update => "NO ACTION",
105 },
106 );
107 1 __PACKAGE__->belongs_to(
108 "user",
109 "Test2::Harness::UI::Schema::Result::User",
110 { user_id => "user_id" },
111 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
112 );
113  
114  
115 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-02 16:05:20
116 # DO NOT MODIFY ANY PART OF THIS FILE
117  
118 1 1;
« lib/Test2/Harness/UI/Schema/PostgreSQL/Project.pm ↑ Summary lib/Test2/Harness/UI/Schema/PostgreSQL/Resource.pm »