JasperFx / marten

.NET Transactional Document DB and Event Store on PostgreSQL
https://martendb.io
MIT License
2.82k stars 445 forks source link

FetchStreamStateAsync() isn't checking for the creation of event storage first #3208

Closed jeremydmiller closed 4 months ago

jeremydmiller commented 4 months ago

Start with a clean schema, use IDocumentSession.Events.FetchStreamStateAsync() and see if it builds missing schema elements first. Just an oversight.