停止在sails.js中自动迁移架构

停止在sails.js中自动迁移架构,第1张

停止在sails.js中自动迁移架构

您也可以尝试如下 *** 作:

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: {  }};


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/4905466.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-12
下一篇2022-11-12

发表评论

登录后才能评论

评论列表(0条)

    保存