Your models are located in
/models. They control a big part of your Forest UI.
When you install for the first time, Lumber introspects your database and generates your models accordingly.
Afterwards, here's how your database changes can be rendered in your Forest UI:
Lumber does some of the work for you. However, you remain in control of your models.
On the following page, we'll cover how you can enrich your models:
On server start, a
.forestadmin-schema.json file will be auto-generated in local environments only: it reflects the state of your models (in
This file must be versioned and deployed for any remote environment (staging, production, etc.), as it will be used to generate your Forest UI.
.forestadmin-schema.json file will also help you visualize your changes: