| 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__ | ||