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