use Carp::Clan qw/^DBIx::Class/;
use Class::C3;
-our $VERSION = '0.03999_01';
+our $VERSION = '0.04999_05';
=head1 NAME
# Use the default support if available
return $self->next::method($table)
- if $DBI::VERSION >= 1.52
- && $DBD::Pg::VERSION >= 1.50;
+ if $DBD::Pg::VERSION >= 1.50;
my @uniqs;
my $dbh = $self->schema->storage->dbh;
return \@uniqs;
}
+sub _extra_column_info {
+ my ($self, $info) = @_;
+ my %extra_info;
+
+ if ($info->{COLUMN_DEF} && $info->{COLUMN_DEF} =~ /\bnextval\(/i) {
+ $extra_info{is_auto_increment} = 1;
+ }
+
+ return \%extra_info;
+}
+
=head1 SEE ALSO
L<DBIx::Class::Schema::Loader>, L<DBIx::Class::Schema::Loader::Base>,