Actually that was exactly the initial table design. There were more fields
because for my use case there were a lot more states and certain states
have additional data (for example when a call goes from answered to
connected it also gets the user_id of the person being connected to). So
that one ta
On Tue, Apr 15, 2014 at 10:56 AM, Chris Curvey wrote:
> On Mon, Apr 14, 2014 at 12:27 PM, Robert DiFalco > wrote:
>
>> I have several related tables that represent a call state. Let's think of
>> these as phone calls to simplify things. Sometimes I need to determine the
>> last time a user was ca
On Mon, Apr 14, 2014 at 12:27 PM, Robert DiFalco
wrote:
> I have several related tables that represent a call state. Let's think of
> these as phone calls to simplify things. Sometimes I need to determine the
> last time a user was called, the last time a user answered a call, or the
> last time a