lib/Rapi/Blog/DB/Result/TrkSectionPost.pm untested

filter: Statementstmt 0.0% 0 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 32 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 Rapi::Blog::DB::Result::TrkSectionPost;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7 use strict;
8 use warnings;
9  
10 use Moose;
11 use MooseX::NonMoose;
12 use MooseX::MarkAsMethods autoclean => 1;
13 extends 'DBIx::Class::Core';
14 __PACKAGE__->load_components("InflateColumn::DateTime");
15 __PACKAGE__->table("trk_section_posts");
16 __PACKAGE__->add_columns(
17 "id",
18 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
19 "section_id",
20 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
21 "post_id",
22 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
23 "depth",
24 { data_type => "integer", is_nullable => 0 },
25 );
26 __PACKAGE__->set_primary_key("id");
27 __PACKAGE__->belongs_to(
28 "post",
29 "Rapi::Blog::DB::Result::Post",
30 { id => "post_id" },
31 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
32 );
33 __PACKAGE__->belongs_to(
34 "section",
35 "Rapi::Blog::DB::Result::Section",
36 { id => "section_id" },
37 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
38 );
39  
40  
41 # Created by DBIx::Class::Schema::Loader v0.07045 @ 2017-10-04 18:42:02
42 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aTuzSPh0XwVBKFc5fdB65Q
43  
44  
45 # You can replace this text with custom code or comments, and it will be preserved on regeneration
46 __PACKAGE__->meta->make_immutable;
47 1;