Are you trying to delete a model you defined via slc loopback:model or delete an instance of model in your database?
- superkhau
delete complete model defined via slc loopback:model
- Abhishek Goel
1 Answers
62
votes
Delete /common/models/your-model.js and /common/models/your-model.json, then delete the lines referencing your model in /server/model-config.json.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
slc loopback:modelor delete an instance of model in your database? - superkhau