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.1.0/migra-2.1.0.tbz
sha256=6d27c8f27cbb99b6a0b6a457adf87508be187793c9d9a7bc5214a6cb6b0e2e65
sha512=c65e7bde436979e5fb5760b9623f03df086b774b54080fb708a691c919abe5a5e606e421667a98b985cfdb339e30cf3b38a2d6c7e1852404d58b9d58b57604c4
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/migra/migra.2.1.0/opam
No package is dependent