db: time_tracking: not to use deprecated escapeInteger/escapeString