Commit d98d0b4c authored by Tiago Grego's avatar Tiago Grego
Browse files

included col_collision_map option to avoid column accessor collisions

parent a75768bc
...@@ -156,7 +156,11 @@ sub get_MultiTestDB { ...@@ -156,7 +156,11 @@ sub get_MultiTestDB {
sub make_schema { sub make_schema {
my ($self) = @_; 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; $loader_options->{dump_directory} = $self->schema_dir if $self->dump_schema;
make_schema_at($self->schema_class, $loader_options, [ sub { $self->dbc->db_handle } ]); make_schema_at($self->schema_class, $loader_options, [ sub { $self->dbc->db_handle } ]);
......
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