An open API service indexing awesome lists of open source software.

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.

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