Login   Register  
PHP Classes
elePHPant
Icontem

Issue in timestamp column sync

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      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  
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.