package sihl-user

  1. Overview
  2. Docs
val register_migration : Sihl_type.Migration.t -> unit

Register a migration, so it can be run by the service.

val register_migrations : Sihl_type.Migration.t list -> unit

Register multiple migrations.

val execute : Sihl_type.Migration.t list -> unit Lwt.t

Run a list of migrations.

val run_all : unit -> unit Lwt.t

Run all registered migrations.

val register : ?migrations:Sihl_type.Migration.t list -> unit -> Sihl_core.Container.Service.t
OCaml

Innovation. Community. Security.