blib/lib/DBIO/Test/Schema/EventSmallDT.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DBIO/Test/Schema/Event.pm ↑ Summary blib/lib/DBIO/Test/Schema/ForceForeign.pm »
1 package DBIO::Test::Schema::EventSmallDT;
2 # ABSTRACT: Test result class for the event_small_dt table with smalldatetime inflation
3  
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 our $VERSION = '0.900007';
8  
9 3 ▶use base qw/DBIO::Test::BaseResult/;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 3 __PACKAGE__->load_components(qw/InflateColumn::DateTime/);
12  
13 3 __PACKAGE__->table('event_small_dt');
14  
15 3 __PACKAGE__->add_columns(
16 id => { data_type => 'integer', is_auto_increment => 1 },
17 small_dt => { data_type => 'smalldatetime', datetime_undef_if_invalid => 1 },
18 );
19  
20 3 __PACKAGE__->set_primary_key('id');
21  
22 3 1;
23  
24 __END__
« blib/lib/DBIO/Test/Schema/Event.pm ↑ Summary blib/lib/DBIO/Test/Schema/ForceForeign.pm »