package sihl

  1. Overview
  2. Docs

Module Contract.MigrationSource

Sourcetype step = {
  1. label : string;
  2. statement : string;
  3. check_fk : bool;
}
Sourcetype steps = step list
Sourcetype t = string * steps
Sourceval name : string
Sourceexception Exception of string
Sourceexception Dirty_migration
Sourcemodule type Sig = sig ... end
Sourceval to_sexp : (string * step list) -> Sexplib0.Sexp.t
Sourceval pp : Format.formatter -> (string * step list) -> unit
Sourceval empty : 'a -> 'a * 'b list
Sourceval create_step : label:string -> ?check_fk:bool -> string -> step
Sourceval add_step : 'a -> ('b * 'a list) -> 'b * 'a list
OCaml

Innovation. Community. Security.