Create, drop, insert table in postgres

This commit is contained in:
Guntis Smaukstelis
2023-10-21 21:12:58 +03:00
parent 5578290b8f
commit c9120db28a
5 changed files with 123 additions and 1 deletions
+4 -1
View File
@@ -8,6 +8,7 @@ lazy val root = (project in file("."))
Compile / mainClass := Some("app.Main")
)
val doobieVersion = "1.0.0-RC1"
val http4sVersion = "0.23.18"
val circeVersion = "0.14.1"
@@ -18,11 +19,13 @@ libraryDependencies ++= Seq(
"org.http4s" %% "http4s-ember-client" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
"ch.qos.logback" % "logback-classic" % "1.2.9",
"org.scala-lang" % "scala-reflect" % "2.13.10",
"com.github.pureconfig" %% "pureconfig" % "0.17.4",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-generic-extras" % circeVersion,