package migra

  1. Overview
  2. No Docs
A database migration tool and library for OCaml supporting PostgreSQL, MariaDB/MySQL, and SQLite

Install

dune-project
 Dependency

Authors

Maintainers

Sources

migra-2.2.0.tbz
sha256=56bd695a46f04bf835401ffed2e271da07145779eade84fb3aa7385eb66fd824
sha512=911f455829ce8c9a781ef7efb709a88775e4f0d9e827f7cb4c7c07dbca867b510e24744b5029a6ec35c412851e0c30dcd3f8eeed5bb02e23e21d406ecb850410

Description

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.

Dependencies (12)

  1. fmt >= "0.9.0"
  2. logs-ppx >= "0.2.0"
  3. logs >= "0.7.0"
  4. cmdliner >= "2.0.0"
  5. uri >= "4.4.0"
  6. caqti-dynload >= "2.0.0"
  7. caqti-lwt >= "2.0.0"
  8. caqti >= "2.0.0"
  9. lwt >= "5.6.0"
  10. dune-build-info >= "3.12"
  11. ocaml >= "4.14.0"
  12. dune >= "3.12"

Dev Dependencies (3)

  1. odoc with-doc
  2. alcotest-lwt with-test & >= "1.7.0"
  3. alcotest with-test & >= "1.7.0"

Used by

None

Conflicts

None