#migration #scylla-db #manager #scm #cli #environment #env

app scm-cli

An ergonomic ScyllaDB migration manager

1 unstable release

0.1.0 May 27, 2023

#7 in #scm

Download history 1/week @ 2024-02-20 10/week @ 2024-02-27 22/week @ 2024-03-05 16/week @ 2024-03-12 1/week @ 2024-03-26 12/week @ 2024-04-02

51 downloads per month

MIT license

16KB
277 lines

scm

scm is an ergonomic CLI tool to manage ScyllaDB clusters written in Rust. It's very basic, very fast, and very easy to use.

Installation

cargo install scm-cli

Usage

scm --help
scm env create # create a new environment at dev.scm.toml
scm create "bob migration" # create a new migration
# edit the migration file
echo "CREATE KEYSPACE IF NOT EXISTS my_keyspace
WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};" >> `scm list | tail -n 1`
scm apply # apply the migration to the default dev environment

Dependencies

~18–31MB
~449K SLoC