Revision history for Perl extension DBIx::Class::Schema::Loader
+ - fix Postgres sequence detection for qualified sequences
- detect DOS line ends in table/column comments and convert to \n
- added use_moose option
- always mark pk columns is_nullable=0
}
# process SERIAL columns
- if (ref($info->{default_value}) eq 'SCALAR' && ${ $info->{default_value} } =~ /\bnextval\(['"](\w+)/i) {
+ if (ref($info->{default_value}) eq 'SCALAR' && ${ $info->{default_value} } =~ /\bnextval\(['"]([.\w]+)/i) {
$info->{is_auto_increment} = 1;
$info->{sequence} = $1;
delete $info->{default_value};