Update doobie, use legacy java.time conversions

This commit is contained in:
Eike Kettner
2019-12-31 13:00:16 +01:00
parent 65641d1347
commit d05e919eb4
4 changed files with 13 additions and 14 deletions

View File

@ -15,6 +15,7 @@ the sources and run:
- `make` to compile all sources (Elm + Scala)
- `make-zip` to create zip packages
- `make-deb` to create debian packages
- `make-pkg` for a clean compile + building all packages (zip + deb)
The zip files can be found afterwards in:
@ -46,10 +47,10 @@ results in recompile+restart once a source file is modified.
## Custom config file
The sbt build is setup such that a file `dev.conf` in the root of the
source tree is picked up as config file, if it exists. So you can
create a custom config file for development. For example, a custom
database for development may be setup this way:
The sbt build is setup such that a file `dev.conf` in the directory
`local` (at root of the source tree) is picked up as config file, if
it exists. So you can create a custom config file for development. For
example, a custom database for development may be setup this way:
```
#jdbcurl = "jdbc:h2:///home/dev/workspace/projects/docspell/local/docspell-demo.db;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;AUTO_SERVER=TRUE"

View File

@ -7,6 +7,8 @@ import docspell.common.Timestamp
import docspell.common._
import doobie._
//import doobie.implicits.javatime._
import doobie.implicits.legacy.instant._
import doobie.util.log.Success
import io.circe.{Decoder, Encoder}
import docspell.common.syntax.all._