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