Files
David Kurilla f64b522154 feat: add hsdev binary to run migrations (#4877)
Co-authored-by: James Motherwell <motherwell.james@student.greenriver.edu>
Co-authored-by: James M <122129564+JamesM25@users.noreply.github.com>
2024-07-08 17:12:25 +00:00

25 lines
605 B
Markdown

# HSDEV
`hsdev` is a simple diesel Postgres migration tool. It is designed to simply running a Postgres database migration with diesel.
## Installing hsdev
`hsdev` can be installed using `cargo`
```shell
cargo install --force --path crates/hsdev
```
## Using hsdev
Using `hsdev` is simple. All you need to do is run the following command.
```shell
hsdev --toml-file [path/to/TOML/file]
```
provide `hsdev` with a TOML file containing the following keys:
```toml
username = "your_username"
password = "your_password"
dbname = "your_db_name"
```
Simply run the command and let `hsdev` handle the rest.