TaskPipe/SchemaTemplate_Project/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_Project::Result::Thread;
3  
4 use strict;
5 use warnings;
6  
7 use base 'DBIx::Class::Core';
8 __PACKAGE__->load_components("InflateColumn::DateTime");
9  
10 __PACKAGE__->table("thread");
11  
12 __PACKAGE__->add_columns(
13 "id",
14 { data_type => "bigint", is_auto_increment => 1, is_nullable => 0 },
15 "parent_id",
16 { data_type => "bigint", is_nullable => 1 },
17 "pid",
18 { data_type => "varchar", is_nullable => 1, size => 255 },
19 "parent_pid",
20 { data_type => "varchar", is_nullable => 1, size => 255 },
21 "status",
22 { data_type => "varchar", is_nullable => 1, size => 255 },
23 "token",
24 { data_type => "varchar", is_nullable => 1, size => 255 },
25 "data",
26 { data_type => "mediumtext", is_nullable => 1 },
27 "last_forked",
28 {
29 data_type => "datetime",
30 datetime_undef_if_invalid => 1,
31 is_nullable => 1,
32 },
33 "last_checked",
34 {
35 data_type => "datetime",
36 datetime_undef_if_invalid => 1,
37 is_nullable => 1,
38 },
39 "last_task",
40 { data_type => "varchar", is_nullable => 1, size => 255 },
41 );
42  
43 __PACKAGE__->set_primary_key("id");
44  
45 =head1 NAME
46  
47 TaskPipe::SchemaTemplate_Project::Result::Thread - schema template for project C<thread> table
48  
49 =head1 DESCRIPTION
50  
51 Schema Template for the thread 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;