X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FEvent.pm;h=7dda07500308480b1bdd3c4848dc87f52e958a66;hb=a97fe7e08bd7b821caec5f0093f52f4fbfdfcad6;hp=ea787f5d0453f9de5d70e854507bb7cfc435a264;hpb=4295b5d48b5cf541563b94b510979aec75085008;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/Event.pm b/t/lib/DBICTest/Schema/Event.pm index ea787f5..7dda075 100644 --- a/t/lib/DBICTest/Schema/Event.pm +++ b/t/lib/DBICTest/Schema/Event.pm @@ -11,7 +11,9 @@ __PACKAGE__->table('event'); __PACKAGE__->add_columns( id => { data_type => 'integer', is_auto_increment => 1 }, starts_at => { data_type => 'datetime', datetime_undef_if_invalid => 1 }, - created_on => { data_type => 'timestamp' } + created_on => { data_type => 'timestamp' }, + varchar_date => { data_type => 'varchar', inflate_date => 1, size => 20, is_nullable => 1 }, + varchar_datetime => { data_type => 'varchar', inflate_datetime => 1, size => 20, is_nullable => 1 }, ); __PACKAGE__->set_primary_key('id');