projects
/
dbsrgits/DBIx-Class-DateTime-Epoch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
update test case for bug fix
[dbsrgits/DBIx-Class-DateTime-Epoch.git]
/
t
/
lib
/
MySchema
/
Foo.pm
diff --git
a/t/lib/MySchema/Foo.pm
b/t/lib/MySchema/Foo.pm
index
ca4f5ba
..
e98fcc5
100644
(file)
--- a/
t/lib/MySchema/Foo.pm
+++ b/
t/lib/MySchema/Foo.pm
@@
-38,7
+38,14
@@
__PACKAGE__->add_columns(
inflate_datetime => 1,
set_on_create => 1,
set_on_update => 1,
- }
+ },
+ update_time => {
+ data_type => 'datetime',
+ set_on_create => 1,
+ set_on_update => 1,
+ is_nullable => 1,
+ },
+
);
__PACKAGE__->set_primary_key( 'id' );