Merge pull request #1036 from eikek/fix/1032-source-insert

Fix/1032 source insert
This commit is contained in:
mergify[bot] 2021-08-27 21:01:51 +00:00 committed by GitHub
commit eb53b08acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -1,4 +0,0 @@
docker/
!docker/joex-entrypoint.sh
!docker/restserver-entrypoint.sh
!docker/docspell.conf

View File

@ -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] =