Collections and fields
What a collection is, how fields and types work, and what happens to your records when you change one.
A collection is a type of thing your app stores — an order, a customer, a message. It has named fields, and each field has a type. One item in a collection is a record.
Collections are created from what you described when the app was built, and they grow as you ask for more. You don't design them up front.
Field types#
| Type | Holds | Shows as |
|---|---|---|
| Text | A line of text | A single-line input |
| Long text | A paragraph or more | A text area |
| Number | A quantity or a price | A number input |
| Date | A day, or a day and time | A date picker |
| Yes / no | A true or false value | A checkbox |
| Choice | One value from a fixed list | A dropdown |
| Email, Phone, Link | Text, validated | An input with the right keyboard |
| Image, File | An uploaded file | An upload box with a preview |
| Relation | A link to a record in another collection | A record picker |
Add or change a field#
Ask for it in the chat. Name the collection, so there is nothing to guess.
Add a "delivery note" long text field to Orders, and show it on the order pageAdding a field is always safe. Records that already exist simply have no value in it, and the app treats that as empty.
What a change does to existing records#
This is the part worth reading before you ask for one.
| Change | What happens to the data |
|---|---|
| Add a field | Nothing. Existing records have no value in it. |
| Remove a field | It stops showing. The stored values are kept, and come back if the field is restored. |
| Rename a field | The values move with it. |
| Change a field's type | Values are converted where that is possible, and lost where it isn't. |
One schema, every version#
All versions of an app share one set of collections. A field you add while working on a draft exists for the live site immediately.
This is deliberate — your live app and your draft are reading the same records, and a draft with its own private schema would be unable to show real data. But it does mean a schema change is not something you can preview first. See Versions and drafts.
Changing the schema from outside#
An AI client connected over MCP can change the schema in conversation, and it asks before anything breaking. See Change the schema.
Next#
- Browse and edit records Work with the data in the dashboard.
- Relations Link an order to a customer.
- Bring in existing data Start from a spreadsheet or a database you already have.