@arwed/umzug-cassandra-storage
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Build Status

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 })

Readme

Keywords

Package Sidebar

Install

npm i @arwed/umzug-cassandra-storage

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

26.2 kB

Total Files

15

Last publish

Collaborators

  • arwed