shipit-db
A set of database tasks for Shipit.
Features:
- Works via shipit-cli and grunt-shipit
- Optionally ignore specified tables
Roadmap
- DB Backup tasks
Install
npm install shipit-db
Usage
shipitfile.js
Example module { shipit; shipit;};
Dump your local database, upload and import to remote:
shipit staging db:push
Dump your remote database, download and import to local:
shipit staging db:pull
shipit.config.db
)
Options (db.ignoreTables
Type: Array
An array of database tables to ignore.
db.local
\ db.remote
Type: Object
An object of database credentials.
License
MIT