                            session
                            (:name unique-key-table)
                            (:key unique-key-table)
-                           unique-key-record
+                           min-change
                            (merge
                             (fns/opts-remove-timestamp opts)
                             {:only-if

              key-desc {:uber-key uber-key
                        :uber-key-value uber-key-value
                        :key uq-key
                        :key-value key-value}]

        insert-response (r/insert session
                                  (:name unique-key-table)
                                  unique-key-record
                                  (merge (fns/opts-remove-timestamp opts)
                                         {:if-not-exists true}))


                           session
                           (:name unique-key-table)
                           (:key unique-key-table)
                           min-change
                           (merge
                            (fns/opts-remove-timestamp opts)
                            {:only-if
