| Copyright | (c) 2025 |
|---|---|
| License | BSD3 |
| Maintainer | gael@hindsight.events |
| Stability | internal |
| Safe Haskell | None |
| Language | GHC2021 |
Hindsight.Store.PostgreSQL.Core.Schema
Description
Schema initialization for PostgreSQL event store, including event tables, transaction tracking, and projection metadata.
Synopsis
- createSchema :: Session ()
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.