Added time_spent columns to DB schema and created upgrader patch to add these columns automatically during an upgrade.