Budibase DB
Use Budibase DB for native app data
Budibase DB is the native datasource for your workspace.
Use it when you want data stored directly in Budibase and shared across apps and automations in the same workspace.
Create a table
- Open the Data section
- Click
Add source - Choose
Create new table - Enter a table name
- Save the table
Add columns
Add columns from the table grid.
- Open the table
- Click the
+button - Choose the column type
- Set the column name and options
- Save the column
Choose a display column
The display column is the value shown in relationship fields and other linked views.
Set a display column when you want records to appear by name instead of ID.
Use auto columns
Budibase DB supports system-managed auto columns such as:
Auto IDUpdated ByUpdated At
Use these when you need values generated by Budibase instead of entered by a user.
Data types
Common Budibase DB column types include:
- Text
- Long Form Text
- Options
- Multi-select
- Number
- Boolean
- Date/time
- Attachments
- Relationships
- Formula
- JSON
- Barcode/QR
Constraints
Use constraints to validate values in Budibase DB tables.
Common constraints include:
- Required
- Maximum length
- Minimum value
- Maximum value
- Earliest date
- Latest date
Constraints on external tables are used for form validation only.
Development and production data
Budibase DB keeps separate development and production data.
- Development data is what you see in the builder
- Production data is what your app users see
When you publish an app, development changes are pushed to production.
Related pages
Updated 4 months ago