package sihl

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Service.MakeSource

Parameters

Signature

Sourceval register_migration : (string * Sihl_migration__.Model.Migration.step list) -> unit

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

Sourceval register_migrations : (string * Sihl_migration__.Model.Migration.step list) list -> unit

Register multiple migrations.

Sourceval execute : (string * Sihl_migration__.Model.Migration.step list) list -> unit Lwt.t

Run a list of migrations.

Sourceval run_all : unit -> unit Lwt.t

Run all registered migrations.

Sourceval register : ?migrations:(string * Sihl_migration__.Model.Migration.step list) list -> unit -> Sihl_core.Container.Service.t
OCaml

Innovation. Community. Security.