Skip to content

Commit 9835445

Browse files
committed
no automatic transactions for upsert operation wrapper
1 parent 3c186b3 commit 9835445

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codegen/src/main/scala/org/hatdex/hat/dal/SlickPostgresDriver.scala

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ trait SlickPostgresDriver extends ExPostgresDriver
4242

4343
override val pgjson = "jsonb"
4444
override val api = MyAPI
45+
override protected lazy val useTransactionForUpsert = false
4546

4647
object MyAPI extends API with ArrayImplicits
4748
with DateTimeImplicits

0 commit comments

Comments
 (0)