Commit | Line | Data |
---|---|---|
3d98c75e | 1 | package DBICTest::Schema::EventSmallDT; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
4a233f30 | 5 | |
3d98c75e | 6 | use base qw/DBICTest::BaseResult/; |
7 | ||
8 | __PACKAGE__->load_components(qw/InflateColumn::DateTime/); | |
9 | ||
10 | __PACKAGE__->table('event_small_dt'); | |
11 | ||
12 | __PACKAGE__->add_columns( | |
13 | id => { data_type => 'integer', is_auto_increment => 1 }, | |
14 | small_dt => { data_type => 'smalldatetime', is_nullable => 1 }, | |
15 | ); | |
16 | ||
17 | __PACKAGE__->set_primary_key('id'); | |
18 | ||
19 | 1; |