From 77d69bdcf657614c257a081539eaac6a26f63c88 Mon Sep 17 00:00:00 2001 From: eikek Date: Fri, 27 Aug 2021 22:49:42 +0200 Subject: [PATCH 1/2] Remove obsolete dockerignore file --- .dockerignore | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index b99aa884..00000000 --- a/.dockerignore +++ /dev/null @@ -1,4 +0,0 @@ -docker/ -!docker/joex-entrypoint.sh -!docker/restserver-entrypoint.sh -!docker/docspell.conf From 7b2fb70c040895ff12bdc8695a78989de648a1af Mon Sep 17 00:00:00 2001 From: eikek Date: Fri, 27 Aug 2021 22:51:34 +0200 Subject: [PATCH 2/2] Add missing data to insert statement Closes: #1032 --- .../store/src/main/scala/docspell/store/records/RSource.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/store/src/main/scala/docspell/store/records/RSource.scala b/modules/store/src/main/scala/docspell/store/records/RSource.scala index e36539a3..3c05b754 100644 --- a/modules/store/src/main/scala/docspell/store/records/RSource.scala +++ b/modules/store/src/main/scala/docspell/store/records/RSource.scala @@ -78,7 +78,7 @@ object RSource { DML.insert( table, table.all, - fr"${v.sid},${v.cid},${v.abbrev},${v.description},${v.counter},${v.enabled},${v.priority},${v.created},${v.folderId},${v.fileFilter},${v.language}" + fr"${v.sid},${v.cid},${v.abbrev},${v.description},${v.counter},${v.enabled},${v.priority},${v.created},${v.folderId},${v.fileFilter},${v.language},${v.attachmentsOnly}" ) def updateNoCounter(v: RSource): ConnectionIO[Int] =