TaskPipe/SchemaTemplate_Global/Result/Spawned.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::Spawned;
3  
4 use strict;
5 use warnings;
6  
7 use base 'DBIx::Class::Core';
8  
9 __PACKAGE__->load_components("InflateColumn::DateTime");
10 __PACKAGE__->table("spawned");
11  
12 __PACKAGE__->add_columns(
13 "process_name",
14 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
15 "thread_id",
16 { data_type => "bigint", default_value => 0, is_nullable => 0 },
17 "job_id",
18 { data_type => "bigint", default_value => 0, is_nullable => 0 },
19 "pid",
20 { data_type => "varchar", is_nullable => 1, size => 255 },
21 "used_by_pid",
22 { data_type => "varchar", is_nullable => 1, size => 255 },
23 "port",
24 { data_type => "integer", is_nullable => 1 },
25 "control_port",
26 { data_type => "integer", is_nullable => 1 },
27 "password",
28 { data_type => "varchar", is_nullable => 1, size => 255 },
29 "status",
30 { data_type => "varchar", is_nullable => 1, size => 255 },
31 "info",
32 { data_type => "varchar", is_nullable => 1, size => 255 },
33 "temp_dir",
34 { data_type => "varchar", is_nullable => 1, size => 255 },
35 "last_checked",
36 {
37 data_type => "datetime",
38 datetime_undef_if_invalid => 1,
39 is_nullable => 1,
40 },
41 );
42  
43 __PACKAGE__->set_primary_key("process_name", "job_id", "thread_id");
44  
45 =head1 NAME
46  
47 TaskPipe::SchemaTemplate_Global::Result::Spawned - global schema template for C<spawned> source
48  
49 =head1 DESCRIPTION
50  
51 Schema Template for the spawned table
52  
53 =head1 AUTHOR
54  
55 Tom Gracey <tomgracey@gmail.com>
56  
57 =head1 COPYRIGHT AND LICENSE
58  
59 Copyright (c) Tom Gracey 2018
60  
61 TaskPipe is free software, licensed under
62  
63 The GNU Public License Version 3
64  
65 =cut
66  
67 1;