Skip to content

sailxjx/mms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMS NPM version Build Status

Migration with Mongo Shell

Commands

  • create
  • migrate
  • rollback
  • status

Changelog

0.1.6

  • use temporary file to store mongo shell script

0.1.5

  • rollback the last step when migrate failed

0.1.1 ~ 0.1.3

  • add env variables in configuation and change the schema structure

0.1

  • use mongo function to execute mongo shell
  • replace async with bluebird
  • support node v0.11 execSync

License

MIT