fix: try to address "Attribute :block/page should be marked as :db/index true"

pull/648/head
Tienson Qin 2020-11-14 00:37:20 +08:00
parent 4df771f056
commit 87181e9b51
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@
:block/format {}
:block/title {}
;; belongs to which page
:block/page {:db/valueType :db.type/ref}
:block/page {:db/valueType :db.type/ref
:db/index true}
;; referenced pages
:block/ref-pages {:db/valueType :db.type/ref
:db/cardinality :db.cardinality/many}