Skip to content
Snippets Groups Projects
Commit d98d0b4c authored by Tiago Grego's avatar Tiago Grego
Browse files

included col_collision_map option to avoid column accessor collisions

parent a75768bc
No related branches found
No related tags found
2 merge requests!22[ENSCORESW-2622] DBIx warning in patch test databases,!22[ENSCORESW-2622] DBIx warning in patch test databases
......@@ -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 } ]);
......
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