use Carp::Clan qw/^DBIx::Class/;
use mro 'c3';
-our $VERSION = '0.07002';
+our $VERSION = '0.07007';
=head1 NAME
}
}
elsif ($info->{data_type} =~ /^(?:date(?:time)?|timestamp)\z/) {
- $info->{datetime_undef_if_invalid} = 1;
+ if (not (defined $self->datetime_undef_if_invalid && $self->datetime_undef_if_invalid == 0)) {
+ $info->{datetime_undef_if_invalid} = 1;
+ }
}
# Sometimes apparently there's a bug where default_value gets set to ''