cobble/README.md
Marc Cataford ad4d723ceb
All checks were successful
/ sast (push) Successful in 39s
/ tests (push) Successful in 46s
/ build (push) Successful in 48s
refactor: remove APP as part of name, carry-over from pre-extracted version
2024-07-11 21:33:47 -04:00

23 lines
563 B
Markdown

# cobble
👞 A simple SQL migration utility
## Installing
Through `go`, the tool can be installed via:
```bash
go install forge.karnov.club/marc/cobble
```
## Configuring
Connection details about the database to apply migrations on can be provided via environment variables:
```bash
DB_HOST=... # Database host
DB_PORT=... # Database port
DB_USER=... # Username to connect with when applying migrations
DB_PASSWORD=... # Password to use to connect as $DB_APP_USER
DB_NAME=... # Database name to apply migrations on
```