TaskPipe/SchemaTemplate_Project_Test/Result/City.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 22 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_Test::Result::City;
3  
4 use strict;
5 use warnings;
6  
7 use base 'DBIx::Class::Core';
8  
9 __PACKAGE__->load_components("InflateColumn::DateTime");
10 __PACKAGE__->table("city");
11 __PACKAGE__->add_columns(
12 "id",
13 { data_type => "bigint", is_auto_increment => 1, is_nullable => 0 },
14 "label",
15 { data_type => "varchar", is_nullable => 1, size => 255 },
16 "created_dt",
17 { data_type => "datetime", is_nullable => 1 },
18 "modified_dt",
19 { data_type => "datetime", is_nullable => 1 },
20 );
21  
22  
23 __PACKAGE__->set_primary_key("id");
24  
25 __PACKAGE__->has_many(
26 "companies",
27 "TaskPipe::SchemaTemplate_Project_Test::Result::Company",
28 { "foreign.city_id" => "self.id" },
29 { cascade_copy => 0, cascade_delete => 0 },
30 );
31  
32 1;