   (stop [this] this))
 
 (defn new-datomic-connection []
-  (->DatomicConnection))
+  (component/using
+   (->DatomicConnection)
+   [:database]))
 
 (defrecord DatomicSchema [res]
   component/Lifecycle

    (d/shutdown false)
    this))

(def new-datomic-database-schema
  {:uri s/Str
   :ephemeral? s/Bool})

  (stop [this] this))

(defn new-datomic-schema [res]
  (component/using
   (->DatomicSchema res)
   [:connection]))
