1 package # hide from PAUSE
9 __PACKAGE__->set_table();
10 __PACKAGE__->columns(All => qw/myid name val tdate/);
12 tdate => 'Date::Simple',
13 inflate => sub { Date::Simple->new(shift) },
17 # Disables the implicit autoinc-on-non-supplied-pk behavior
18 # (and the warning that goes with it)
19 # This is the same behavior as it was pre 0.082900
20 __PACKAGE__->column_info('myid')->{is_auto_increment} = 0;
22 #__PACKAGE__->find_column('tdate')->placeholder("IF(1, CURDATE(), ?)");
26 myid mediumint not null auto_increment primary key,
27 name varchar(50) not null default '',
28 val char(1) default 'A',