From e03dd1294dfeb78a3eaa0c4ed24aa7deef487b83 Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Wed, 27 Jul 2016 16:04:07 -0500 Subject: [PATCH] changes migrate behavior to "save" vs "alter" --- www/config/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/config/models.js b/www/config/models.js index 4428ce9..aa8772d 100644 --- a/www/config/models.js +++ b/www/config/models.js @@ -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