Unverified Commit a80c06d4 authored by Matthew Laird's avatar Matthew Laird Committed by GitHub
Browse files

Merge pull request #22 from Ensembl/ENSCORESW-2622

[ENSCORESW-2622] DBIx warning in patch test databases
parents a75768bc 612937cf
......@@ -156,7 +156,11 @@ sub get_MultiTestDB {
sub make_schema {
my ($self) = @_;
my $loader_options = { naming => 'current' };
my $loader_options = {
naming => 'current',
col_collision_map => 'column_%s',
};
$loader_options->{dump_directory} = $self->schema_dir if $self->dump_schema;
make_schema_at($self->schema_class, $loader_options, [ sub { $self->dbc->db_handle } ]);
......@@ -184,7 +188,7 @@ sub patch_ddl {
sub connected_schema {
my ($self) = @_;
return $self->schema_class->connect( [ sub { $self->dbc->db_handle } ] );
return $self->schema_class->connect;
}
no Moose;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment