https://github.com/thatoddmailbox/roamer
A tool that makes handling database migrations easy.
https://github.com/thatoddmailbox/roamer
database go golang migration sql
Last synced: 5 months ago
JSON representation
A tool that makes handling database migrations easy.
- Host: GitHub
- URL: https://github.com/thatoddmailbox/roamer
- Owner: thatoddmailbox
- License: mit
- Created: 2020-05-24T19:10:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T03:37:51.000Z (over 2 years ago)
- Last Synced: 2024-06-20T05:03:34.252Z (about 2 years ago)
- Topics: database, go, golang, migration, sql
- Language: Go
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# roamer [](https://github.com/thatoddmailbox/roamer/actions) [](https://pkg.go.dev/github.com/thatoddmailbox/roamer)
`roamer` is a tool that makes handling database migrations easy. It's inspired by [alembic](https://alembic.sqlalchemy.org) and [golang-migrate](https://github.com/golang-migrate/migrate).
It's available as a command-line tool that can be used with any programming language or framework; however, if you're using Go, you can also embed roamer directly into your program.
> [!Note]
> While the command-line interface is mostly stable, the Go API should not be considered stable quite yet! It's possible that a future release of roamer might change the Go API; however, if that does happen, the breaking change would be released in a new minor version, following the Go module versioning policy.
## Documentation
First, follow the [installation instructions](https://github.com/thatoddmailbox/roamer/wiki/Installation).
Then, you're encouraged to follow along with the [guided example](https://github.com/thatoddmailbox/roamer/wiki/A-guided-example).
### Other articles
* [Migrations](https://github.com/thatoddmailbox/roamer/wiki/Migrations)
* [Offsets](https://github.com/thatoddmailbox/roamer/wiki/Offsets)
Also, if you want to provide instructions for other users on how to set up roamer with your project, you can link to the [Connecting an existing project to your database](https://github.com/thatoddmailbox/roamer/wiki/Connecting-an-existing-project-to-your-database) wiki page.