package omigrate

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

Install

Dune Dependency

Authors

Maintainers

Sources

omigrate-0.3.1.tbz
sha256=53dc2e0c0b0426c7ae795b0ad1f2ce8055c723aa0a4957939958df028c11075c
sha512=aab0ea16aa41d85461987645a2ddb3607391063aa2b4ca9f4da73563062a9acffc9fd43f013b1a520b6dff3c76a09ac48a5e922b297328099580caab05ac69aa

doc/omigrate.sqlite3/Omigrate_sqlite3/Sqlite_3/T/index.html

Module Sqlite_3.TSource

Sourceval migrations_table : string
Sourceval quote_statement : string -> string
Sourceval to_opt_pair : 'a option -> 'b option -> ('a * 'b) option
Sourceval database_exists : string -> bool Lwt.t
Sourceval delete_database : string -> unit Lwt.t
Sourceval ensure_version_table_exists : Db.t -> unit Lwt.t
Sourceval up : host:'a -> ?port:'b -> ?user:'c -> ?password:'d -> database:string -> Omigrate.Migration.t -> unit Lwt.t
Sourceval down : host:'a -> ?port:'b -> ?user:'c -> ?password:'d -> database:string -> ?previous:Omigrate.Migration.t -> Omigrate.Migration.t -> unit Lwt.t
Sourceval create : host:'a -> ?port:'b -> ?user:'c -> ?password:'d -> string -> unit Lwt.t
Sourceval drop : host:'a -> ?port:'b -> ?user:'c -> ?password:'d -> string -> unit Lwt.t
Sourceval version : host:'a -> ?port:'b -> ?user:'c -> ?password:'d -> database:string -> unit -> (int64 * bool) option Lwt.t
Sourceval parse_uri : string -> (Omigrate.Driver.Connection.t, [ `Bad_uri of string | `Invalid_source of string | `Unknown_driver of string ]) result
OCaml

Innovation. Community. Security.