Harsha Anisetti
Harsha Anisetti

Reputation: 3

How to add a new property to the already exsisting model with loopback

Am a student currently working on a exsisting project.i need to add some extra properties in an exsisting model without creating a new model with the LoopBack..how to do it?

Upvotes: 0

Views: 563

Answers (1)

akkonrad
akkonrad

Reputation: 1073

You can just update your json model with the property you want to add. Or you can also use loopback CLI to add the property lb property. Then you need to restart your server and that's it. You can read about updating models in the docs

Upvotes: 1

Related Questions