GeezerVison is showing github.com — GitHub - tmattio/omigrate: Database migrations for Reason and OCaml
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation

Database migrations for Reason and OCaml
- PosgreSQL (
omigrate.postgres)
- Sqlite3 (
omigrate.sqlite3)
omigrate create --dir DIR NAME
Create a new migration and prepend it with a timestamp.
omigrate ls --source SOURCE --database DATABASE
List the migrations with their state.
omigrate up --source SOURCE --database DATABASE
Apply all up migrations.
omigrate down --source SOURCE --database DATABASE
Apply all down migrations.
omigrate setup --source SOURCE --database DATABASE
Setup the database and run all the migrations.
omigrate drop --database DATABASE
Delete the database.
The example provides some migrations available to test omigrate with the different drivers.
Take a look at our Contributing Guide.
About
Database migrations for Reason and OCaml
Resources
Contributing
Stars
34 stars
Watchers
0 watching
Forks