From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
1234567891011121314151617181920 package # hide from PAUSE DBICTest::Schema::TimestampPrimaryKey;use warnings;use strict;use base qw/DBICTest::BaseResult/;__PACKAGE__->table('timestamp_primary_key_test');__PACKAGE__->add_columns( 'id' => { data_type => 'timestamp', default_value => \'current_timestamp', },);__PACKAGE__->set_primary_key('id');1;
package
# hide from PAUSE
DBICTest::Schema::TimestampPrimaryKey;
use
warnings;
strict;
base
qw/DBICTest::BaseResult/
;
__PACKAGE__->table(
'timestamp_primary_key_test'
);
__PACKAGE__->add_columns(
'id'
=> {
data_type
=>
'timestamp'
,
default_value
=> \
'current_timestamp'
},
__PACKAGE__->set_primary_key(
1;