dbmate
Nodejs wrapper for [amacneil/dbmate](https://github.com/amacneil/dbmate)
Last updated 9 months ago by defunctzombie .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dbmate 
SYNC missed versions from official npm registry.

Dbmate

Nodejs wrapper for amacneil/dbmate

Library

import { DbMate } from 'dbmate';

// construct a dbmate instance using a database url string
// see https://github.com/amacneil/dbmate#usage for more details
const dbmate = new DbMate('db://user:pass@host:port/db?opt');

// invoke up, down, drop as necessary
await dbmate.up();

CLI

The dbmate cli wraps the precompiled dbmate binaries and passes all command line options. The cli wrapper will detect the appropriate binary for your system.

License

See LICENSE.md

Current Tags

  • 1.0.0                                ...           latest (9 months ago)

1 Versions

  • 1.0.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |