From 1c3eafb6efb05d52a8b01c463d1b47efc1fb2c8e Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 7 Aug 2024 21:34:57 +0300 Subject: [fix] db: Only update to v3 when current db version is 2. --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnosis.el') diff --git a/gnosis.el b/gnosis.el index f08e1c9..56b3965 100644 --- a/gnosis.el +++ b/gnosis.el @@ -2362,7 +2362,7 @@ Return note ids for notes that match QUERY." ;; Create activity-log table (gnosis--create-table 'activity-log gnosis-db-schema-activity-log))) ;; Update database schema for version - (cond ((<= gnosis-curr-version 2) + (cond ((= gnosis-curr-version 2) (gnosis-db-update-v3))))) (gnosis-db-init) -- cgit v1.2.3