@arwed/umzug-cassandra-storage
v0.1.0
Published
Cassandra storage for umzug migrations.
Downloads
6
Readme
Umzug Cassandra Storage
This is an Umzug storage for storing migrations in cassandra.
Usage
import { CassandraStorage } from "@arwed/umzug-cassandra-storage"
import { Client } from "cassandra-driver"
const client = new Client({
contactPoints: [ "localhost" ],
localDataCenter: "datacenter1"
})
const umzug = new Umzug({ storage: new CassandraStorage(client), logger: console })