beam-migrate: SQL DDL support and migrations support library for Beam

[ database, library, mit ] [ Propose Tags ]

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.

Versions [faq] 0.2.0.0, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.3.2.1, 0.3.2.2, 0.4.0.0, 0.4.0.1
Change log ChangeLog.md
Dependencies aeson (>=0.11 && <1.5), base (>=4.9 && <5.0), beam-core (==0.7.*), bytestring (==0.10.*), containers (>=0.5 && <0.7), deepseq (==1.4.*), dependent-map (==0.2.*), dependent-sum (==0.4.*), free (>=4.12 && <5.2), ghc-prim (==0.5.*), hashable (==1.2.*), haskell-src-exts (>=1.18 && <1.21), mtl (==2.2.*), parallel (==3.2.*), pqueue (>=1.3 && <1.5), pretty (==1.1.*), scientific (==0.3.*), text (==1.2.*), time (>=1.6 && <1.10), unordered-containers (==0.2.*), uuid-types (==1.0.*), vector (>=0.11 && <0.13) [details]
License MIT
Copyright Copyright (C) 2017-2018 Travis Athougies
Author Travis Athougies
Maintainer travis@athougies.net
Category Database
Home page https://travis.athougies.net/projects/beam.html
Source repo head: git clone https://github.com/tathougies/beam.git(beam-migrate)
Uploaded by TravisAthougies at Fri Feb 8 22:06:40 UTC 2019
Distributions NixOS:0.4.0.1, Stackage:0.4.0.1
Downloads 2382 total (209 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-02-09 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
werror

Enable -Werror during development

DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees