migraversion Documentation on ocaml.org

A database migration tool and library for OCaml supporting PostgreSQL, MariaDB/MySQL, and SQLite

A database migration tool and library for OCaml. Migrations are plain SQL with up and down sections, and the database (PostgreSQL, MariaDB/MySQL, or SQLite) is selected from the connection URL. Applied migrations are tracked with checksums, and drift (a modified, missing, or out-of-order migration) is detected before anything runs. It can be used from the command line or embedded as a library to migrate on application startup.

Tags database migrations postgresql mariadb mysql sqlite
AuthorDavid Sinclair
LicenseMIT
Published
Homepagehttps://github.com/dsincl12/migra
Issue Trackerhttps://github.com/dsincl12/migra/issues
Documentationhttps://github.com/dsincl12/migra
MaintainerDavid Sinclair <dsincl12@gmail.com>
Dependencies
Optional dependencies
Source [http] https://github.com/dsincl12/migra/releases/download/1.0.1/migra-1.0.1.tbz
sha256=daaaab416e580e5b8dc9f0a74482e142cef6d77b248d995d320f6f882d3a9e35
sha512=8f60494b9ee6ac2e7e69a16eefce69d1e8c22e831fe28f600a42200e3086e2f4d15331323ad1848f7165e1c8ff30fe320445185b7e988325588293a66937966a
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/migra/migra.1.0.1/opam
No package is dependent