should use hashrefinflator
[dbsrgits/DBIx-Class-Journal.git] / lib / DBIx / Class / Schema / Journal.pm
index 29aaefc..7d8aa60 100644 (file)
@@ -22,6 +22,7 @@ __PACKAGE__->mk_classdata('journal_prefix');
 use strict;
 use warnings;
 
+our $VERSION = '0.01';
 
 sub _journal_schema_prototype {
     my $self = shift;
@@ -171,6 +172,7 @@ sub prepopulate_journal {
                 my @x = $from_rs->search(undef, {
                     rows => 1_000,
                     page => $page++,
+                    result_class => 'DBIx::Class::ResultClass::HashRefInflator',
                 })
             ) {
                 # get some number of change log IDs to be generated for this page