CI | Release |
---|---|
ZIO and Cats Effect wrappers for Doobie with Liquibase.
"com.github.sideeffffect" %% "liquibase-doobie-zio" % "<version>"
This library comes with ready-made case class for configuration Config
and a layer ZIODoobieLiquibase.layer
that you can use when composing your application from ZLayers.
// defined in subproject `liquibase-doobie`
final case class Config(
hikari: doobie.hikari.Config,
liquibaseChangeLogFile: String,
)
ZIODoobieLiquibase.layer: RLayer[Config, Transactor[Task]]
"com.github.sideeffffect" %% "liquibase-doobie-zio-config" % "<version>"
For Cats Effect only use
"com.github.sideeffffect" %% "liquibase-doobie" % "<version>"
"com.github.sideeffffect" %% "liquibase-doobie-pureconfig" % "<version>"