Revision history for Perl extension DBIx::Class::Schema::Loader
0.04999_01 Not yet released
+ - Add support for vendor-specific extra column attributes.
- Set join_type => 'LEFT OUTER' for nullable foreign keys
(patch from Bernhard Weißhuhn)
- Set is_auto_increment for auto-increment columns (RT #31473)
$column_info{is_auto_increment} = 1;
}
+ if (my $extra = $self->_column_extra_attr($info)) {
+ $column_info{extra} = $extra;
+ }
+
$result{$col_name} = \%column_info;
}
$sth->finish;
$column_info{is_auto_increment} = 1;
}
+ if (my $extra = $self->_column_extra_attr($table, $columns[$i], $sth, $i)) {
+ $column_info{extra} = $extra;
+ }
+
$result{$columns[$i]} = \%column_info;
}
$sth->finish;
# auto-incremented
sub _column_is_auto_increment {}
+# Override this in vendor class to return any "extra" column attributes
+sub _column_extra_attr {}
+
=head1 SEE ALSO
L<DBIx::Class::Schema::Loader>