From d4369fe70f4704913fed53c20026d091ee9a555f Mon Sep 17 00:00:00 2001 From: franck cuny Date: Mon, 6 Apr 2009 12:28:36 +0200 Subject: use inflate datetime --- lib/CPAN/mapcpan.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/CPAN/mapcpan.pm') diff --git a/lib/CPAN/mapcpan.pm b/lib/CPAN/mapcpan.pm index 7dcd13e..58a8c57 100644 --- a/lib/CPAN/mapcpan.pm +++ b/lib/CPAN/mapcpan.pm @@ -42,7 +42,7 @@ use base 'DBIx::Class'; use strict; use warnings; -__PACKAGE__->load_components( qw/ Core/ ); +__PACKAGE__->load_components( qw/InflateColumn::DateTime Core/ ); __PACKAGE__->table( 'packages' ); __PACKAGE__->add_columns( @@ -83,7 +83,7 @@ __PACKAGE__->add_columns( 'size' => 0 }, 'released' => { - 'data_type' => 'date', + 'data_type' => 'datetime', 'is_auto_increment' => 0, 'default_value' => undef, 'is_foreign_key' => 0, -- cgit v1.2.3