On Thu, 2006-05-25 at 13:26 -0400, Guillermo Roditi wrote: > Basically the promblem is that I want default for a column to be > NOW(). unfortunately that is getting insterted as 0000-00-00 so my > guess is that it's getting screwed up in the placeholder stage, and I > can't just do default => DateTime->now... so i thought of doing > default => sub {return DateTime->now; }
Is there some reason why you don't want to just have the database do this for you automatically? It's easy to do in MySQL. - Perrin ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object