PHP Classes

Issue in timestamp column sync

Recommend this page to a friend!

      DBSync  >  All threads  >  Issue in timestamp column sync  >  (Un) Subscribe thread alerts  
Subject:Issue in timestamp column sync
Summary:Issue with default value CURRENT_TIMESTAMP
Messages:1
Author:lalit
Date:2012-08-01 07:43:33
 

 


  1. Issue in timestamp column sync   Reply   Report abuse  
Picture of lalit lalit - 2012-08-01 07:43:33
Giving error:
Could not create xyz_table on database db_test at root@localhost: Invalid default value for 'date_of_purchase'

I used timestamp coulmn with default CURRENT_TIMESTAMP value for this field. I am strang it is not suporting in this class.