diff --git a/core/src/main/resources/sqlScripts/0050-sqlite-addApplyToParentIndex.sql b/core/src/main/resources/sqlScripts/0050-sqlite-addApplyToParentIndex.sql new file mode 100644 index 000000000..3f8fb5e93 --- /dev/null +++ b/core/src/main/resources/sqlScripts/0050-sqlite-addApplyToParentIndex.sql @@ -0,0 +1,3 @@ + +-- significantly speeds up parent update handling +create index FullDataUpdatedIndex on FullData (ApplyToParent) where ApplyToParent = 1 diff --git a/core/src/main/resources/sqlScripts/scriptList.txt b/core/src/main/resources/sqlScripts/scriptList.txt index 62901d865..d2104f42c 100644 --- a/core/src/main/resources/sqlScripts/scriptList.txt +++ b/core/src/main/resources/sqlScripts/scriptList.txt @@ -4,3 +4,4 @@ 0030-sqlite-changeTableJournaling.sql 0031-sqlite-useSqliteWalJournaling.sql 0040-sqlite-removeRenderCache.sql +0050-sqlite-addApplyToParentIndex.sql