X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FEvent.pm;h=ea787f5d0453f9de5d70e854507bb7cfc435a264;hp=bce3e34f23603a52aa19f164d296747c53f6fff1;hb=33a126efc599d5bb1284929ba2c80527c5bd0951;hpb=ec7eb955621dd50dbc9a239f54b0d547b2ea9102 diff --git a/t/lib/DBICTest/Schema/Event.pm b/t/lib/DBICTest/Schema/Event.pm index bce3e34..ea787f5 100644 --- a/t/lib/DBICTest/Schema/Event.pm +++ b/t/lib/DBICTest/Schema/Event.pm @@ -10,7 +10,7 @@ __PACKAGE__->table('event'); __PACKAGE__->add_columns( id => { data_type => 'integer', is_auto_increment => 1 }, - starts_at => { data_type => 'datetime' }, + starts_at => { data_type => 'datetime', datetime_undef_if_invalid => 1 }, created_on => { data_type => 'timestamp' } );