hindsight-postgresql-store
Safe HaskellNone
LanguageGHC2021

Hindsight.Store.PostgreSQL.Core.Schema

Synopsis

Documentation

createSchema :: Session () Source #

Creates the event store schema and projection schema

This creates both the event store tables (events, transactions, stream_heads) and the projection metadata table, since sync projections are part of the PostgreSQL store functionality.