Database migrations for Reason and OCaml
omigrate.postgres)opam install omigrateesy add @opam/omigrateomigrate create --dir DIR NAMECreate a new migration and prepend it with a timestamp.
omigrate ls --source SOURCE --database DATABASEList the migrations with their state.
omigrate up --source SOURCE --database DATABASEApply all up migrations.
omigrate down --source SOURCE --database DATABASEApply all down migrations.
omigrate setup --source SOURCE --database DATABASESetup the database and run all the migrations.
omigrate drop --database DATABASEDelete the database.
Take a look at our Contributing Guide.