1 package # hide from PAUSE
4 BEGIN { unshift @INC, './t/testlib'; }
9 __PACKAGE__->set_table();
10 __PACKAGE__->columns(All => qw/myid name val tdate/);
12 tdate => 'Date::Simple',
13 inflate => sub { Date::Simple->new(shift) },
16 __PACKAGE__->find_column('tdate')->placeholder("IF(1, CURDATE(), ?)");
20 myid mediumint not null auto_increment primary key,
21 name varchar(50) not null default '',
22 val char(1) default 'A',