diff options
Diffstat (limited to 'lib/CPAN/mapcpan.pm')
| -rw-r--r-- | lib/CPAN/mapcpan.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
