ThreeDotsLabs / esja

Event Sourcing library in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make "initialize schema" optional in SQLStore

m110 opened this issue · comments

SQLStore initializes the schema on each instantiation now.

Like in watermill-sql, let's introduce a setting for this in the SQLConfig.

watermill-sql also checks if the passed db is not a Tx in which case the schema would implicitly commit the ongoing transaction.