   ([db-config table-name row-id lock initial-value]
    (map->Duratom {:lock lock
                   :init initial-value
-                  :make-async-backend (partial storage/->PGSQLBackend
-                                               db-config
-                                               (if (ut/table-exists? db-config table-name)
-                                                 table-name
-                                                 (do (ut/create-dedicated-table! db-config table-name)
-                                                     table-name))
-                                               row-id)
+                  :make-backend (partial storage/->PGSQLBackend
+                                         db-config
+                                         (if (ut/table-exists? db-config table-name)
+                                           table-name
+                                           (do (ut/create-dedicated-table! db-config table-name)
+                                               table-name))
+                                         row-id)
                   })))
 
 (defn s3-atom

  ([creds bucket k lock initial-value]
   (map->Duratom {:lock lock
                  :init initial-value
                  :make-async-backend (partial storage/->S3Backend
                                               creds
                                               (if (ut/does-bucket-exist creds bucket)
                                                 bucket
                                                 (do (ut/create-s3-bucket creds bucket)
                                                     bucket))
                                               k)
                  })))



  )

;; override default `print-method` for records in order to hide certain fields,
;; but also to provide printing which resembles atoms
(defmethod print-method Duratom [dura ^Writer w]
  (.write w "#")
  (.write w (-> dura class .getName))
