PREREQ_PM => {
'Test::More' => 0.7,
'DBIx::Class' => 0.08,
+ 'Data::Visitor' => 0.15,
+ 'File::Copy::Recursive' => 0.35,
+ 'DateTime' => 0.41,
+ 'DBIx::Class::Schema::Loader' => 0.04004,
'Class::Accessor::Grouped' => 0.06,
'Path::Class' => 0.16,
'Config::Any' => 0.08,
'JSON::Syck' => 0.26,
'Data::Dump::Streamer' => 2.05,
'Hash::Merge' => 0.10,
- 'DBD::SQLite' => 1.14,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'DBIx-Class-Fixtures-*' },
$self->msg("- finished importing DDL into DB");
# load schema object from our new DB
- $self->msg("- loading fresh DBIC object from DB");
- my $schema = $namespace->connect(@{$connection_details});
+ $namespace_counter++;
+ my $namespace2 = "DBIx::Class::Fixtures::GeneratedSchema_" . $namespace_counter;
+ Class::C3::Componentised->inject_base( $namespace2 => $schema_class );
+ my $schema = $namespace2->connect(@{$connection_details});
return $schema;
}