package sihl

  1. Overview
  2. Docs

Module Database.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
Sourceval log_src : Logs.src
Sourcemodule Map : sig ... end
Sourceval registered_migrations : Sihl__.Contract_migration.step list Map.t ref
Sourcemodule Make (Repo : sig ... end) : sig ... end
Sourcemodule PostgreSql : sig ... end
Sourcemodule MariaDb : sig ... end
OCaml

Innovation. Community. Security.