migraversion Documentation on ocaml.org

A database migration tool for OCaml supporting PostgreSQL, MariaDB, 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.0/migra-1.0.0.tbz
sha256=08ceb8f21f00227f21209484ef1eb8cc326ed26a280747798ec5b0b7c5fdd678
sha512=70050833623ba7801a0a31b1700f5473903335c8db2cdf4de5bbd1876180ec0a93907444b42f7a39b6af454303e0ee5f4c3543ca51378d6324583a26b93f535c
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/migra/migra.1.0.0/opam
No package is dependent