Skip to content

Commit e0ddc98

Browse files
committed
fix: d/schema on conn
1 parent 7860ecc commit e0ddc98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/frontend/worker/db_worker.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
(= "db" (:kv/value (d/entity @conn :logseq.kv/db-type)))))]
345345
(swap! *datascript-conns assoc repo conn)
346346
(swap! *client-ops-conns assoc repo client-ops-conn)
347-
(when (not= client-op/schema-in-db (d/schema client-ops-conn))
347+
(when (not= client-op/schema-in-db (d/schema @client-ops-conn))
348348
(d/reset-schema! client-ops-conn client-op/schema-in-db))
349349
(when (and db-based? (not initial-data-exists?) (not datoms))
350350
(let [config (or config "")

0 commit comments

Comments
 (0)