We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7860ecc commit e0ddc98Copy full SHA for e0ddc98
src/main/frontend/worker/db_worker.cljs
@@ -344,7 +344,7 @@
344
(= "db" (:kv/value (d/entity @conn :logseq.kv/db-type)))))]
345
(swap! *datascript-conns assoc repo conn)
346
(swap! *client-ops-conns assoc repo client-ops-conn)
347
- (when (not= client-op/schema-in-db (d/schema client-ops-conn))
+ (when (not= client-op/schema-in-db (d/schema @client-ops-conn))
348
(d/reset-schema! client-ops-conn client-op/schema-in-db))
349
(when (and db-based? (not initial-data-exists?) (not datoms))
350
(let [config (or config "")
0 commit comments