@dadoudidou/migration
A perso command line migration tool
Last updated a year ago by dadoudidou .
ISC · Original npm · Tarball · package.json
$ cnpm install @dadoudidou/migration 
SYNC missed versions from official npm registry.

Migration Command Line

Usage: migration-cli [options] [command]

  Options:

    -v, --version                             output the version number
    -c, --config <path>                       set config file.
    -m, --migration-dir <path>                set migration dir. [defaults:"./migrations"]
    -db-host, --database-host <host>          set database host
    -db-port, --database-port <host>          set database port
    -db-user, --database-username <username>  set database username
    -db-pass, --database-password <password>  set database password
    -db-name, --database-name <name>          set database name
    --sql-file                                create sql files for up and down
    -h, --help                                output usage information

  Commands:

    create [names...]                         create a migration
    up [options]                              update database
    down                                      restore database

Current Tags

  • 0.1.5                                ...           latest (a year ago)

6 Versions

  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 6
Last Month 5
Dependencies (7)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |