package omigrate

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val migrations_table : string
val quote_statement : string -> string
val with_conn : host:string -> port:int -> user:string -> password:string -> ?database:string -> (Pgx_lwt_unix.t -> 'a Pgx_lwt_unix.Io.t) -> 'b Lwt.t
val database_exists : conn:Pgx_lwt_unix.t -> string -> bool Lwt.t
val version_exists : conn:Pgx_lwt_unix.t -> int64 -> bool Lwt.t
val ensure_version_table_exists : conn:Pgx_lwt_unix.t -> unit Lwt.t
val up : host:string -> port:int -> user:string -> password:string -> database:string -> Omigrate.Migration.t -> unit Lwt.t
val down : host:string -> port:int -> user:string -> password:string -> database:string -> Omigrate.Migration.t -> unit Lwt.t
val create : host:string -> port:int -> user:string -> password:string -> string -> unit Lwt.t
val drop : host:string -> port:int -> user:string -> password:string -> string -> unit Lwt.t
val versions : host:string -> port:int -> user:string -> password:string -> database:string -> unit -> int64 list Lwt.t
OCaml

Innovation. Community. Security.