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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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.

Properties

Versions 0.1.0.0, 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.1.0.0 && <0.2), text (>=2.0 && <2.2), time (>=1.12 && <1.15) [details]
License MIT
Copyright 2026 Nadeem Bitar
Author Nadeem Bitar
Maintainer nadeem@gmail.com
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
Uploaded by shinzui at 2026-08-25T04:54:15Z

library shomei-migrations

Modules

  • Shomei
    • Shomei.Migrations

library shomei-migrations:test-support

Modules

  • Shomei
    • Migrations
      • Shomei.Migrations.TestSupport

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees