Skip to content

Don't allow initializing schema for Tx #27

@m110

Description

@m110

Similar to how watermill does it: https://github.com/ThreeDotsLabs/watermill-sql/blob/bc0272d92e9475871a52182dc341db4483e22dbb/pkg/sql/publisher.go#L67

If a transaction is passed to eventstore.SQL, it should return an error when initializing the schema. Otherwise, the transaction might be implicitly committed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions