cfdp / opeka

Counseling chat service, built for providing anonymous help to young people at risk
https://curachat.com
GNU General Public License v3.0
10 stars 6 forks source link

Add column: 'session duration' to statistics table #96

Closed cfdp closed 7 years ago

cfdp commented 7 years ago

Currently we store the basic info that the regular chat clients give us when they log into the chat in the database.

We would like to add another column with the duration of the chat to the statistics table.

This information is already available as output in the message stream when a user logs out and it is currently also being written to the server log.

alex-bukach commented 7 years ago

@cfdp should we store it in minutes (as displayed in the log)?

benjamin-dk commented 7 years ago

@alex-bukach minutes is fine, yes.

alex-bukach commented 7 years ago

@cfdp done, please see https://github.com/cfdp/opeka/pull/97