TaskPipe/SchemaTemplate_Global/Result/Thread.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use utf8;
2 package TaskPipe::SchemaTemplate_Global::Result::Thread;
3  
4 use strict;
5 use warnings;
6  
7 use base 'DBIx::Class::Core';
8  
9 __PACKAGE__->load_components("InflateColumn::DateTime");
10  
11 __PACKAGE__->table("thread");
12  
13  
14 __PACKAGE__->add_columns(
15 "id",
16 { data_type => "bigint", is_nullable => 0 },
17 "job_id",
18 { data_type => "bigint", is_nullable => 0 },
19 "parent_id",
20 { data_type => "bigint", is_nullable => 1 },
21 "pid",
22 { data_type => "varchar", is_nullable => 1, size => 255 },
23 "parent_pid",
24 { data_type => "varchar", is_nullable => 1, size => 255 },
25 "status",
26 { data_type => "varchar", is_nullable => 1, size => 255 },
27 "token",
28 { data_type => "varchar", is_nullable => 1, size => 255 },
29 "data",
30 { data_type => "mediumtext", is_nullable => 1 },
31 "last_forked",
32 {
33 data_type => "datetime",
34 datetime_undef_if_invalid => 1,
35 is_nullable => 1,
36 },
37 "last_checked",
38 {
39 data_type => "datetime",
40 datetime_undef_if_invalid => 1,
41 is_nullable => 1,
42 },
43 "last_task",
44 { data_type => "varchar", is_nullable => 1, size => 255 },
45 );
46  
47 __PACKAGE__->set_primary_key("id", "job_id");
48  
49  
50 =head1 NAME
51  
52 TaskPipe::SchemaTemplate_Global::Result::Thread - global schema template for C<thread> source
53  
54 =head1 DESCRIPTION
55  
56 Schema Template for the thread table
57  
58 =head1 AUTHOR
59  
60 Tom Gracey <tomgracey@gmail.com>
61  
62 =head1 COPYRIGHT AND LICENSE
63  
64 Copyright (c) Tom Gracey 2018
65  
66 TaskPipe is free software, licensed under
67  
68 The GNU Public License Version 3
69  
70 =cut
71  
72 1;