Database Studio
Database Studio is where most system configurators do their day-to-day work. It is the main place to model collections, tune route behavior, shape record interfaces, and inspect staged data design.
What You Do In Database Studio
Use Database Studio for four main jobs:
- Design the collection schema
- Configure route-level behavior
- Shape the record interface
- Review how records and related data will behave operationally
1. Schema Editor
The schema editor is where you define the structure of a collection.
Typical tasks include:
- Adding or renaming columns
- Choosing data types
- Configuring linked records and relationships
- Reviewing how the schema supports real workflows
Staging Workflow
Structural work should be treated as staged configuration, not a live edit.
- Open a fork.
- Make the schema changes there.
- Review issues and test the result.
- Merge the fork to apply the resulting schema changes to production.
2. Route Configuration
Each collection exposes five standard routes: list, view, create, update, and delete. Database Studio lets you
define what those routes should do beyond the default CRUD behavior.
Database Studio lets you define:
- Validation for mutation routes
- Import configuration for create and update routes
- Export configuration for list and view routes
- Notification configuration for mutation routes
See Route Configuration for more detail.
3. The Interface Tab
The Interface tab controls the form used for record create, update, and view
flows. This is where you edit the collection's form_codeblock.
If a collection does not yet have a form codeblock, you can generate a starter layout from the schema and then customize it.
4. Data Viewer
The data viewer helps you inspect how the collection behaves with real records.
- Filter and sort records
- Open record detail views
- Validate how labels, interfaces, and permissions feel in practice
- Verify that configured exports and mutation behavior match expectations
Recommended Usage Pattern
- Model the collection in the schema editor.
- Set the interface so users can work with records cleanly.
- Add route behavior such as validation, export, and notifications.
- Use the data viewer to test the operational result.