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.0.0.tbz
sha256=f795152aad57b0ae6fe0894694bbbf8340a3270653cac7f8825d074d3feb366b
sha512=3afabe27e4ae01b0ca3681b037aaf39d6efc5d568855e2a8bd19885b34496c2f8ce3a631caf15d30bdd77797a08ca711f87c2e48b598b40546060c5e045d6718

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