Normally, it should have added a null value to the timestampes (created_at, updated_at) but for some reason was adding time stamp of '0000-00-00 00:00:00' value.