use warnings;
use Class::C3;
-our $VERSION = '0.05000';
+our $VERSION = '0.07000';
=head1 NAME
$def =~ s/^\s+//;
$def =~ s/\s+\z//;
- if ($def =~ /^["'](.*?)['"]\z/) {
+# remove Pg typecasts (e.g. 'foo'::character varying) too
+ if ($def =~ /^["'](.*?)['"](?:::[\w\s]+)?\z/) {
$info->{default_value} = $1;
}
else {