package omigrate

  1. Overview
  2. Docs

Module OmigrateSource

Sourceval with_driver : f: ((module Driver.S) -> Connection.conninfo -> ('a, [ `Unknown_driver of string | `Bad_uri of string | `Invalid_source of string ]) Lwt_result.t) -> string -> ('a, [ `Unknown_driver of string | `Bad_uri of string | `Invalid_source of string ]) Lwt_result.t
Sourceval db_versions : database:string -> (int64 list, [ `Unknown_driver of string | `Bad_uri of string | `Invalid_source of string ]) Lwt_result.t
Sourceval source_versions : source:string -> (Migration.t list, [ `Unknown_driver of string | `Bad_uri of string | `Invalid_source of string ]) result
Sourceval up : source:string -> database:string -> (unit, [ `Unknown_driver of string | `Bad_uri of string | `Invalid_source of string ]) Lwt_result.t
Sourceval down : source:string -> database:string -> (unit, [ `Unknown_driver of string | `Bad_uri of string | `Invalid_source of string ]) Lwt_result.t
Sourceval create : database:string -> (unit, [ `Unknown_driver of string | `Bad_uri of string | `Invalid_source of string ]) Lwt_result.t
Sourceval drop : database:string -> (unit, [ `Unknown_driver of string | `Bad_uri of string | `Invalid_source of string ]) Lwt_result.t
Sourcemodule Error : sig ... end
Sourcemodule Migration : sig ... end
Sourcemodule Driver : sig ... end
Sourcemodule Connection : sig ... end