fix(db): wrong schema/version query

pull/8914/head
Andelf 2023-03-27 22:32:06 +08:00
parent d5d3857466
commit 8aa1802c3e
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
"Get schema version from db, the current version is defined in db-schema/version"
[db]
(d/q
'[:find ?v .
'[:find (max ?v) .
:where
[_ :schema/version ?v]]
db))