After some further discussion on #dbix-class, we'll do this:
For DATE and TIMESTAMP columns in MySQL, set
"datetime_undef_if_invalid => 1"
for both nullable and NOT NULL columns.
This will be done in the next version, which I'm planning in hopefully
not more than a month.
Any objections?
On 1/16/2011 1:28 AM, David Storrs via RT wrote:
Show quoted text> Sun Jan 16 01:28:37 2011: Request 64820 was acted upon.
> Transaction: Ticket created by david.storrs@gmail.com
> Queue: DBIx-Class-Schema-Loader
> Subject: Wishlist: make datetime_undef_if_invalid => 1 the default in MySQL
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: david.storrs@gmail.com
> Status: new
> Ticket<URL:
https://rt.cpan.org/Ticket/Display.html?id=64820>
>
>
> Would it be possible to make DATE columns automatically contain
> datetime_undef_if_invalid => 1 for MySQL when the column is nullable?
> Currently this attribute is not included, which causes a lot of
> exceptions in what should be valid records.
>
> Dave Storrs
>