changes migrate behavior to "save" vs "alter"

This commit is contained in:
Patrick McDonagh
2016-07-27 16:04:07 -05:00
parent 325d4affbd
commit e03dd1294d

View File

@@ -27,7 +27,7 @@ module.exports.models = {
* See http://sailsjs.org/#!/documentation/concepts/ORM/model-settings.html *
* *
***************************************************************************/
migrate: 'alter',
migrate: 'safe',
/**
* This method adds records to the database