Commit | Line | Data |
---|---|---|
8273e845 | 1 | package # hide from PAUSE |
4d4dc518 | 2 | DBICTest::Schema::TimestampPrimaryKey; |
3 | ||
4a233f30 | 4 | use warnings; |
5 | use strict; | |
6 | ||
4d4dc518 | 7 | use base qw/DBICTest::BaseResult/; |
8 | ||
9 | __PACKAGE__->table('timestamp_primary_key_test'); | |
10 | ||
11 | __PACKAGE__->add_columns( | |
12 | 'id' => { | |
13 | data_type => 'timestamp', | |
14 | default_value => \'current_timestamp', | |
15 | }, | |
16 | ); | |
17 | ||
18 | __PACKAGE__->set_primary_key('id'); | |
19 | ||
20 | 1; |