hindsight-postgresql-store
Copyright(c) 2025
LicenseBSD3
Maintainergael@hindsight.events
Stabilityinternal
Safe HaskellNone
LanguageGHC2021

Hindsight.Store.PostgreSQL.Core.Schema

Description

Schema initialization for PostgreSQL event store, including event tables, transaction tracking, and projection metadata.

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.