diff --git a/src/main/frontend/persist_db/browser.cljs b/src/main/frontend/persist_db/browser.cljs index 460ee205dd..f8e4348a46 100644 --- a/src/main/frontend/persist_db/browser.cljs +++ b/src/main/frontend/persist_db/browser.cljs @@ -3,19 +3,18 @@ This interface uses clj data format as input." (:require ["comlink" :as Comlink] - [frontend.persist-db.protocol :as protocol] - [frontend.config :as config] - [promesa.core :as p] - [frontend.util :as util] - [frontend.handler.notification :as notification] - [cljs-bean.core :as bean] - [frontend.state :as state] [electron.ipc :as ipc] - [frontend.handler.worker :as worker-handler] - [logseq.db :as ldb] - [frontend.db.transact :as db-transact] + [frontend.config :as config] [frontend.date :as date] - [frontend.handler.assets :as assets-handler])) + [frontend.db.transact :as db-transact] + [frontend.handler.assets :as assets-handler] + [frontend.handler.notification :as notification] + [frontend.handler.worker :as worker-handler] + [frontend.persist-db.protocol :as protocol] + [frontend.state :as state] + [frontend.util :as util] + [logseq.db :as ldb] + [promesa.core :as p])) (defonce *worker state/*db-worker) diff --git a/src/main/frontend/worker/db/migrate.cljs b/src/main/frontend/worker/db/migrate.cljs index 2140a734c6..41fe7f0962 100644 --- a/src/main/frontend/worker/db/migrate.cljs +++ b/src/main/frontend/worker/db/migrate.cljs @@ -580,7 +580,7 @@ (d/reset-schema! conn (dissoc schema :block/schema)) [])) -(def schema-version->updates +(def ^:large-vars/cleanup-todo schema-version->updates "A vec of tuples defining datascript migrations. Each tuple consists of the schema version integer and a migration map. A migration map can have keys of :properties, :classes and :fix."