Chinook/DB/Result/Album.pm untested

filter: Statementstmt 0.0% 0 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 33 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::Demo::Chinook::DB::Result::Album;
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("Album");
16 __PACKAGE__->add_columns(
17 "albumid",
18 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
19 "title",
20 { data_type => "nvarchar", is_nullable => 0, size => 160 },
21 "artistid",
22 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
23 );
24 __PACKAGE__->set_primary_key("albumid");
25 __PACKAGE__->belongs_to(
26 "artistid",
27 "Rapi::Demo::Chinook::DB::Result::Artist",
28 { artistid => "artistid" },
29 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
30 );
31 __PACKAGE__->has_many(
32 "tracks",
33 "Rapi::Demo::Chinook::DB::Result::Track",
34 { "foreign.albumid" => "self.albumid" },
35 { cascade_copy => 0, cascade_delete => 0 },
36 );
37  
38  
39 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-09-12 15:36:29
40 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OJ1U992pTI/1TC7qsm8syA
41  
42  
43 # You can replace this text with custom code or comments, and it will be preserved on regeneration
44 __PACKAGE__->meta->make_immutable;
45 1;