       (case (events/topic->model topic)
         "card"      (process-card-activity topic object)
         "dashboard" (process-dashboard-activity topic object)
-        "database"  (process-database-activity topic object)
         "install"   (when-not (db/sel :one :fields [Activity :id])
                       (db/ins Activity :topic "install" :model "install"))
         "user"      (process-user-activity topic object)))

    :dashboard-delete
    :dashboard-add-cards
    :dashboard-remove-cards
    :database-sync-begin
    :database-sync-end
    :install
    :user-login})


      :dashboard-add-cards    (record-activity topic object add-remove-card-details)
      :dashboard-remove-cards (record-activity topic object add-remove-card-details))))

;; disabled for now as it's overly verbose in the feed
;(defn- process-database-activity [topic object]
;  (let [database            (db/sel :one Database :id (events/object->model-id topic object))
;        object              (merge object (select-keys database [:name :description :engine]))
;        database-details-fn (fn [obj] (-> obj
;                                          (assoc :status "started")
;                                          (dissoc :database_id :custom_id)))
;        database-table-fn   (fn [obj] {:database-id (events/object->model-id topic obj)})]
;    ;; NOTE: we are skipping any handling of activity for sample databases
;    (when (= false (:is_sample database))
;      (case topic
;        :database-sync-begin (record-activity :database-sync object database-details-fn database-table-fn)
;        :database-sync-end   (let [{activity-id :id} (db/sel :one Activity :custom_id (:custom_id object))]
;                               (db/upd Activity activity-id
;                                 :details (-> object
;                                              (assoc :status "completed")
;                                              (dissoc :database_id :custom_id))))))))

(defn- process-user-activity [topic object]
  ;; we only care about login activity when its the users first session (a.k.a. new user!)
