Search code examples
node.jsmongodbstrongloopauto-updateloopback

how i update inbuilt model (user) in strongLoop using mongodb?


enter image description here i upload image here you can see whole folder structure.. In StrongLoop Framework there not visible User model in common/model folder so it's difficult to how i add property in user model?


Solution

  • You have to create a new model which inherits user model. You can only make the changes that model and not the existing user model.