I am using waterline orm which comes by default with sails.js. I recently recognized that my data just goes missing in my MySQL database when I do a sails lift. My model config is alter. Did anyone face similar issues? This is scary.
答案 0 :(得分:2)
将您的模型配置更改为' safe'所以重置服务器后它不会删除你的数据..