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/Omigrate/index.html
Module Omigrate
Source
Source
val with_driver :
f:
((module Driver.S) ->
Omigrate__Driver.Connection.t ->
('a,
[ `Unknown_driver of string
| `Bad_uri of string
| `Invalid_source of string ])
Lwt_result.t) ->
string ->
('a,
[ `Unknown_driver of string
| `Bad_uri of string
| `Invalid_source of string ])
Lwt_result.t
Source
val db_version :
database:string ->
((int64 * bool) option,
[ `Unknown_driver of string
| `Bad_uri of string
| `Invalid_source of string ])
Lwt_result.t
Source
val fetch_version :
(module Driver.S) ->
bound:int64 ->
bool ->
Connection.t ->
(int64, 'a) result Lwt.t
Source
val source_versions :
source:string ->
(Migration.t list,
[ `Unknown_driver of string
| `Bad_uri of string
| `Invalid_source of string ])
result
Source
val up :
?force:bool ->
source:string ->
database:string ->
unit ->
(unit,
[ `Unknown_driver of string
| `Bad_uri of string
| `Invalid_source of string ])
Lwt_result.t
Source
val down :
?force:bool ->
source:string ->
database:string ->
unit ->
(unit,
[ `Unknown_driver of string
| `Bad_uri of string
| `Invalid_source of string ])
Lwt_result.t
Source
val create :
database:string ->
(unit,
[ `Unknown_driver of string
| `Bad_uri of string
| `Invalid_source of string ])
Lwt_result.t
Source
val drop :
database:string ->
(unit,
[ `Unknown_driver of string
| `Bad_uri of string
| `Invalid_source of string ])
Lwt_result.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>