   "
   [conn board-uuid]
   {:pre [(db-common/conn? conn)]}
-  (storage-db-common/last-entry-of-board conn board-uuid))
+  (time (storage-db-common/last-entry-of-board conn board-uuid)))
 
 (schema/defn ^:always-validate list-entries-by-org-author
 


  ([conn allowed-board :- AllowedBoard {:keys [count] :or {count false}}]
   {:pre [(db-common/conn? conn)]}
   (log-query-time (str "list-entries-by-board(" (:uuid allowed-board) "), start"))
   (let [result (db-common/read-resources-and-relations conn table-name :status-board-uuid [[:published (:uuid allowed-board)]]
                                                        :interactions common/interaction-table-name :uuid :resource-uuid
                                                        list-comment-properties {:count count})]
     (log-query-time (str "list-entries-by-board(" (:uuid allowed-board) "), finish"))
     result)))

(schema/defn ^:always-validate list-all-entries-by-board
  "Given the UUID of the board, return all the entries for the board."
  [conn allowed-board :- AllowedBoard]
  {:pre [(db-common/conn? conn)]}
  (log-query-time "list-all-entries-by-board, start")
  (let [result (db-common/read-resources conn table-name :board-uuid [(:uuid allowed-board)] ["uuid" "status"])]
    (log-query-time "list-all-entries-by-board, finish")
    result))

(schema/defn ^:always-validate list-all-entries-for-inbox
  "Given the UUID of the user, return all the entries the user has access to that have been published

          (#{:before :after} direction)
          (integer? limit)
          (#{:recent-activity :recently-posted} sort-type)]}
   (timbre/info "entry-res/list-entries-by-org-author-old")
   (time
    (storage-db-common/read-paginated-entries-old conn table-name :status-org-uuid-author-id [:published org-uuid author-uuid] order start direction
                                                  limit sort-type common/interaction-table-name allowed-boards nil container-last-seen-at
                                                  list-comment-properties nil {:count count :container-id container-id}))))

(schema/defn ^:always-validate list-drafts-by-org-author
  "
