summary refs log tree commit diff
path: root/lib/CPAN
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CPAN')
-rw-r--r--lib/CPAN/cpants.pm2
-rw-r--r--lib/CPAN/mapcpan.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CPAN/cpants.pm b/lib/CPAN/cpants.pm
index 686c834..10f8275 100644
--- a/lib/CPAN/cpants.pm
+++ b/lib/CPAN/cpants.pm
@@ -744,7 +744,7 @@ use base 'DBIx::Class';
 use strict;
 use warnings;
 
-__PACKAGE__->load_components( qw/ Core/ );
+__PACKAGE__->load_components( qw/ Core InflateColumn::DateTime/ );
 __PACKAGE__->table( 'dist' );
 
 __PACKAGE__->add_columns(
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,