Re: [Dbix-class] set_on_create problem

2012-04-26 Thread Steve
Thank you very much! As a follow up, is there a way to have DBIC::Loader add this component? It seems like the 'components=TimeStamp' would have been enough, but this is obviously not the case. On 4/26/2012 2:43 AM, Peter Rabbitson wrote: Steve wrote: Hello, I have set up a user table bo

Re: [Dbix-class] set_on_create problem

2012-04-25 Thread Peter Rabbitson
Steve wrote: Hello, I have set up a user table both 'updatedon' and 'createdon' fields. They are of type Datetime (MySQL). My entire schema was autogenerated by DBIC::Loader script with the 'components=TimeStamp' directive. I have confirmed that the resultset loads the "InflateColumn::Date

[Dbix-class] set_on_create problem

2012-04-25 Thread Steve
Hello, I have set up a user table both 'updatedon' and 'createdon' fields. They are of type Datetime (MySQL). My entire schema was autogenerated by DBIC::Loader script with the 'components=TimeStamp' directive. I have confirmed that the resultset loads the "InflateColumn::DateTime" compone