@hackage beam-migrate0.3.1.0
SQL DDL support and migrations support library for Beam
Installation
Dependencies (22)
- aeson >=0.11 && <1.3
- base >=4.9 && <5.0
- beam-core >=0.7 && <0.8
- bytestring >=0.10 && <0.11
- containers >=0.5 && <0.6
- deepseq >=1.4 && <1.5 Show all…
Dependents (7)
@hackage/beam-sqlite, @hackage/typson-beam, @hackage/beam-postgres, @hackage/Frames-beam, @cardano/freer-extras, @hackage/beam-newtype-field, Show all…
Package Flags
werror
(off by default)
Enable -Werror during development
This package provides type classes to allow backends to implement SQL DDL support for beam. This allows you to use beam syntax to write type-safe schema generation code. The package also provides features to introspect beam schemas, and support for automatic generation of migrations in SQL and Haskell formats. This is mostly a low-level support library. Most often, this library is used to write tooling to support DDL manipulation in your project, or to enable migrations support in beam backends. For a more turnkey solution for database migrations, consider the beam-migrate command line tool. This provides out-of-the-box support for migrations, schema change management, and version control, based on the features provided in this library.