projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
change CURRENT_TIMESTAMP to current_timestamp
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
lib
/
DBIx
/
Class
/
Schema
/
Loader
/
DBI
/
DB2.pm
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI/DB2.pm
b/lib/DBIx/Class/Schema/Loader/DBI/DB2.pm
index
886a45b
..
ed69925
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/DBI/DB2.pm
+++ b/
lib/DBIx/Class/Schema/Loader/DBI/DB2.pm
@@
-131,7
+131,7
@@
sub _columns_info_for {
}
if (eval { lc ${ $info->{default_value} } }||'' eq 'current timestamp') {
- ${ $info->{default_value} } = 'CURRENT_TIMESTAMP';
+ ${ $info->{default_value} } = 'current_timestamp';
delete $info->{size};
}
}