Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

east

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

east

node.js database migration tool

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
decreased by-54.5%
Maintainers
1
Weekly downloads
 
Created
Source

east

east - node.js database migration tool for different databases (extensible via adapters)

Installation

npm install east -g

alternatively you could install it locally

Usage

go to project dir and run

east init

after that you can create, migrate, rollback your migrations.

Run east -h to see all commands:


  Usage: east [options] [command]

  Commands:

    init                   initialize migration system
    create <basename>      create new migration based on template
    migrate [options] [migrations] run all or selected migrations
    rollback [migrations]  rollback all or selected migrations
    list [status]          list migration with selected status (`new`, `executed` or `all`), `new` by default
    *                     

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    --adapter <name>     which db adapter to use
    --config <path>      config file to use
    --timeout <timeout>  timeout for migrate/rollback
    --template <path>    path to template for new migrations
    --dir <dir>          dir where migrations stored
    --url <url>          db connect url


run east <command> -h to see detail command help.

All options described above can be set via command line or at .eastrc file located at current directory, e.g.:


{
	"dir": "./dbmigration",
	"template": "./lib/node/utils/migrationTemplate.js"
}

Running test

into cloned repository run

npm test

Keywords

FAQs

Package last updated on 03 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc