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/2.2.0/migra-2.2.0.tbz
sha256=56bd695a46f04bf835401ffed2e271da07145779eade84fb3aa7385eb66fd824
sha512=911f455829ce8c9a781ef7efb709a88775e4f0d9e827f7cb4c7c07dbca867b510e24744b5029a6ec35c412851e0c30dcd3f8eeed5bb02e23e21d406ecb850410
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/migra/migra.2.2.0/opam
No package is dependent