Keep the old, erroneous "table_name" for backward compatibility.
- Fix stray comma in Pg on_delete/on_update => CASCADE (RT#84706)
- Fix MySQL enums with empty strings and leading/trailing quotes (RT#86091)
+ - Fix "table" parameter in col_accessor_map callback (RT#84050)
0.07035 2013-02-26
- Release 0.07034_01 with a stable version number. 0.07034 is
my $context = {
table_class => $table_class,
table_moniker => $table_moniker,
- table_name => $table,
+ table_name => $table, # bugwards compatibility, RT#84050
+ table => $table,
full_table_name => $table->dbic_name,
schema_class => $schema_class,
column_info => $info,
my $extra_count = $self->{extra}{count} || 0;
- my $col_accessor_map_tests = 5;
+ my $col_accessor_map_tests = 6;
my $num_rescans = 6;
$num_rescans++ if $self->{vendor} eq 'mssql';
$num_rescans++ if $self->{vendor} eq 'Firebird';
is( $default_name, 'crumb_crisp_coating', 'col_accessor_map was passed the default name' );
ok( $context->{$_}, "col_accessor_map func was passed the $_" )
- for qw( table_name table_class table_moniker schema_class );
+ for qw( table table_name table_class table_moniker schema_class );
return 'trivet';
} else {