lib/Video/PlaybackMachine/Schema/Result/ScheduleEntryEnd.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Video/PlaybackMachine/Schema/Result/MovieInfo.pm ↑ Summary
1 package Video::PlaybackMachine::Schema::Result::ScheduleEntryEnd;
2  
3 3 our $VERSION = '0.09'; # VERSION
4  
5 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 __PACKAGE__->table("schedule_entry_end");
11  
12 3 __PACKAGE__->add_columns(
13 "schedule_entry_end_id" => { data_type => "integer", is_nullable => 0 },
14 "schedule_entry_id" => { data_type => "integer", is_nullable => 0 },
15 "stop_time" => { data_type => "integer", is_nullable => 0 }
16 );
17  
18 3 __PACKAGE__->set_primary_key('schedule_entry_end_id');
19  
20 3 __PACKAGE__->belongs_to(
21 "schedule_entry",
22 "Video::PlaybackMachine::Schema::Result::ScheduleEntry",
23 { 'foreign.schedule_entry_id' => "self.schedule_entry_id" }
24 );
25  
26 3 __PACKAGE__->add_unique_constraint(['schedule_entry_end_id', 'schedule_entry_id']);
27 3 1;
« lib/Video/PlaybackMachine/Schema/Result/MovieInfo.pm ↑ Summary