shomei-migrations: Schema migrations for Shōmei (pg-migrate component, embedded SQL)

[ database, library, mit, program, security ] [ Propose Tags ] [ Report a vulnerability ]

Owns Shōmei's PostgreSQL schema. Embeds Shōmei's ordered SQL manifest at compile time with pg-migrate-embed and exposes it as a pg-migrate MigrationComponent that a host application can compose with its own migrations, so an embedding service applies one migration plan rather than two. Ships the shomei-migrate CLI for standalone use, and a public test-support sublibrary that provisions a fresh ephemeral PostgreSQL with the schema already applied.

library shomei-migrations

Modules

[Index]

  • Shomei
    • Shomei.Migrations

library shomei-migrations:test-support

Modules

[Index]

  • Shomei
    • Migrations
      • Shomei.Migrations.TestSupport

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.2.0.0
Change log CHANGELOG.md
Dependencies aeson (>=2.1 && <2.3), base (>=4.18 && <5), bytestring (>=0.11 && <0.13), containers (>=0.7 && <0.8), ephemeral-pg (>=0.2.2 && <0.3), hasql (>=1.10 && <1.11), optparse-applicative (>=0.19 && <0.20), pg-migrate (>=1.1 && <1.2), pg-migrate-cli (>=1.1 && <1.2), pg-migrate-embed (>=1.1 && <1.2), shomei-migrations (>=0.2.0.0 && <0.3), text (>=2.0 && <2.2), time (>=1.12 && <1.15) [details]
Tested with ghc ==9.12.4
License MIT
Copyright 2026 Nadeem Bitar
Author Nadeem Bitar
Maintainer nadeem@gmail.com
Uploaded by shinzui at 2026-08-28T04:40:25Z
Category Database, Security
Home page https://github.com/shinzui/shomei
Bug tracker https://github.com/shinzui/shomei/issues
Source repo head: git clone https://github.com/shinzui/shomei.git
Distributions
Executables shomei-migrate
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]