https://github.com/canislupaster/vagabond
A very simple cassandra migrations manager written in rust. Do not peek at the source code.
https://github.com/canislupaster/vagabond
Last synced: 2 months ago
JSON representation
A very simple cassandra migrations manager written in rust. Do not peek at the source code.
- Host: GitHub
- URL: https://github.com/canislupaster/vagabond
- Owner: canislupaster
- License: mit
- Created: 2019-05-27T18:41:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-27T19:01:44.000Z (about 7 years ago)
- Last Synced: 2025-01-06T07:52:13.616Z (over 1 year ago)
- Language: Rust
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How do I use this garbage?
Good point, bad question. Essentially, theres a ./migrations folder that holds all your migrations similar to diesel (the only other migrations thing ive used so dont think I have any experience). ./migrations/vagabond holds an ordered list of all migrations, and a vagabond table in the database holds the currently applied migration.
When the binary is called without a subcommand, it will display a list of applied (green) and unapplied (red) migrations.
## Commands
- init - Initializes the directory
- new \ - Makes a ./migrations subdirectory and appends to the vagabond
- redo - Redos the applied migration
- rollback - Rolls back the applied migration
- apply - Applies the next unapplied migration
- delete - Deletes all unapplied migrations. pretty dangerous
goodbye and have an excellent day