cobble/README.md

24 lines
563 B
Markdown
Raw Normal View History

2024-07-11 02:51:13 +00:00
# cobble
2024-07-12 01:32:25 +00:00
👞 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
2024-07-12 01:32:25 +00:00
DB_NAME=... # Database name to apply migrations on
```