package omigrate
Database migrations for Reason and OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
omigrate-0.3.2.tbz
sha256=7df11359cb7175891a6776d552ef12641d54f330ab187e913f15166970ef46bf
sha512=83599cf881ffc26027dad200dad1156cc8d220b6f45ad23b758f4eaea6e21359ec2517d753f5facabf682b10f284341bdbdec121563b7096a94a110ce1933b47
doc/omigrate.postgres/Omigrate_postgres/Postgres/T/index.html
Module Postgres.T
Source
Source
val 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
Source
val with_transaction :
host:string ->
?port:int ->
?user:string ->
?password:string ->
?database:string ->
(Pgx_lwt_unix.t -> 'a Pgx_lwt_unix.Io.t) ->
'a Lwt.t
Source
val up :
host:string ->
?port:int ->
?user:string ->
?password:string ->
database:string ->
Omigrate.Migration.t ->
unit Lwt.t
Source
val down :
host:string ->
?port:int ->
?user:string ->
?password:string ->
database:string ->
?previous:Omigrate.Migration.t ->
Omigrate.Migration.t ->
unit Lwt.t
Source
val create :
host:string ->
?port:int ->
?user:string ->
?password:string ->
string ->
unit Lwt.t
Source
val drop :
host:string ->
?port:int ->
?user:string ->
?password:string ->
string ->
unit Lwt.t
Source
val version :
host:string ->
?port:int ->
?user:string ->
?password:string ->
database:string ->
unit ->
(int64 * bool) option Lwt.t
Source
val parse_uri :
string ->
(Omigrate.Driver.Connection.t,
[ `Bad_uri of string
| `Invalid_source of string
| `Unknown_driver of string ])
result
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>