package sihl

  1. Overview
  2. Docs
val register_migration : (string * Sihl__Contract_migration.step list) -> unit
val register_migrations : (string * Sihl__Contract_migration.step list) list -> unit
val execute : ?ctx:(string * string) list -> (string * Sihl__Contract_migration.step list) list -> unit Lwt.t
val run_all : ?ctx:(string * string) list -> unit -> unit Lwt.t
val migrations_status : ?ctx:(string * string) list -> ?migrations:(string * Sihl__Contract_migration.step list) list -> unit -> (string * int option) list Lwt.t
val check_migrations_status : ?ctx:(string * string) list -> ?migrations:(string * Sihl__Contract_migration.step list) list -> unit -> unit Lwt.t
val pending_migrations : ?ctx:(string * string) list -> unit -> (string * int) list Lwt.t
val register : (string * Sihl__Contract_migration.step list) list -> Sihl__.Core_service.t
val lifecycle : Sihl__.Core_lifecycle.lifecycle
OCaml

Innovation. Community. Security.