您也可以尝试如下操作:
module.exports = { // migrate: 'alter', // adds and/or removes columns on changes to the schema // migrate: 'drop', // drops all your tables and then re-creates them. All data is deleted. // migrate: 'safe', doesn't do anything on sails lift- for use in production. attributes: { }};


