projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix silent failures on autoinc PK without an is_auto_increment attribute
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
TimestampPrimaryKey.pm
diff --git
a/t/lib/DBICTest/Schema/TimestampPrimaryKey.pm
b/t/lib/DBICTest/Schema/TimestampPrimaryKey.pm
index
8ec4cf9
..
a52f0db
100644
(file)
--- a/
t/lib/DBICTest/Schema/TimestampPrimaryKey.pm
+++ b/
t/lib/DBICTest/Schema/TimestampPrimaryKey.pm
@@
-12,6
+12,7
@@
__PACKAGE__->add_columns(
'id' => {
data_type => 'timestamp',
default_value => \'current_timestamp',
+ retrieve_on_insert => 1,
},
);