Instead of migrate behavior being alter, added default db structure

This commit is contained in:
Patrick McDonagh
2016-10-13 12:15:15 -05:00
parent 84fc2fbccc
commit 14dd0ff29b
4 changed files with 264 additions and 2 deletions

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