package omigrate

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

Install

Dune Dependency

Authors

Maintainers

Sources

omigrate-0.1.1.tbz
sha256=274a85d581eaccdc291a1cfa7266c8e634e65f32e1c5ac54be3094d3d64ebad2
sha512=a152330c8003b1ff0bc8c50026ed21c53690b7f935c3150e4c87a19b62c5d9540e4601731414541587ebbd467e80658b211dbf38918b359fc5626c3df7e33365

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.