package omigrate

  1. Overview
  2. Docs
Database migrations for Reason and OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

omigrate-0.1.0.tbz
sha256=396b32c67ca19c99be4628e0aaf493b090d49454f30acf6c999a1a3c5c6eba84
sha512=25daa55250ad2f2b32f114339e08312e7bef7bb64f7d16c6d5dc3e194a5b991f268d7016f607e8b8f998d73977322df1f6ca294443a3ffe159822c53e3bfa825

doc/omigrate.postgres/Postgres/T/index.html

Module Postgres.TSource

Sourceval migrations_table : string
Sourceval quote_statement : string -> string
Sourceval with_conn : host:string -> port:int -> user:string -> password:string -> ?database:string -> (Pgx_lwt_unix.t -> 'a Pgx_lwt_unix.Io.t) -> 'a Lwt.t
Sourceval database_exists : conn:Pgx_lwt_unix.t -> string -> bool Lwt.t
Sourceval version_exists : conn:Pgx_lwt_unix.t -> int64 -> bool Lwt.t
Sourceval ensure_version_table_exists : conn:Pgx_lwt_unix.t -> unit Lwt.t
Sourceval up : host:string -> port:int -> user:string -> password:string -> database:string -> Omigrate.Migration.t -> unit Lwt.t
Sourceval down : host:string -> port:int -> user:string -> password:string -> database:string -> Omigrate.Migration.t -> unit Lwt.t
Sourceval create : host:string -> port:int -> user:string -> password:string -> string -> unit Lwt.t
Sourceval drop : host:string -> port:int -> user:string -> password:string -> string -> unit Lwt.t
Sourceval versions : host:string -> port:int -> user:string -> password:string -> database:string -> unit -> int64 list Lwt.t
OCaml

Innovation. Community. Security.