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.0.0/migra-2.0.0.tbz
sha256=f795152aad57b0ae6fe0894694bbbf8340a3270653cac7f8825d074d3feb366b
sha512=3afabe27e4ae01b0ca3681b037aaf39d6efc5d568855e2a8bd19885b34496c2f8ce3a631caf15d30bdd77797a08ca711f87c2e48b598b40546060c5e045d6718
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/migra/migra.2.0.0/opam
No package is dependent