From: Rafael Kitover <rkitover@cpan.org>
Date: Sat, 1 May 2010 15:41:45 +0000 (-0400)
Subject: Informix: write out highest precision datetime (until we can parse the datetime preci... 
X-Git-Tag: 0.07000~41
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=58f0690e662154f95771f7a6b7e12899e874bc7e;p=dbsrgits%2FDBIx-Class-Schema-Loader.git

Informix: write out highest precision datetime (until we can parse the datetime precision)
---

diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Informix.pm b/lib/DBIx/Class/Schema/Loader/DBI/Informix.pm
index 53b49f1..2a918ce 100644
--- a/lib/DBIx/Class/Schema/Loader/DBI/Informix.pm
+++ b/lib/DBIx/Class/Schema/Loader/DBI/Informix.pm
@@ -182,7 +182,7 @@ EOF
                 $result->{$col}{data_type} = 'date';
             }
             elsif ($type == 10) {
-                $result->{$col}{data_type} = 'datetime';
+                $result->{$col}{data_type} = 'datetime year to fraction(5)';
             }
         }