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