Collections
Collections are the foundation of your data model in Hyper Studio. Each collection represents a database table that stores your application's data.
What is a Collection?
A collection defines the structure of your data - similar to a table in a database. When you create a collection called "Customers", you're creating a structured place to store all your customer records.
Collection Tabs
Every collection in Hyper Studio has these tabs:
| Tab | Purpose |
|---|---|
| Fields | Define the data structure - add and configure fields |
| Indexer | Create database indexes for performance |
| Options | General settings like name, icon, and status |
| ERD | Visual entity-relationship diagram |
Auth Collections
When you enable "Is Auth Collection", additional tabs appear:
- Roles - Define user roles with conditions
- Register Form - Configure registration fields
- Profile - Configure profile and session fields
Quick Start
- Click + Add in the sidebar to create a new collection
- Enter a Name and Table Name
- Select an Icon for easy identification
- Click Save Changes
Once created, start adding fields to define your data structure.
Next Steps
- Creating Collections — Step-by-step creation guide
- Fields Overview — Understanding field types
- ERD View — Visual schema diagram
- Auth Collections — User authentication setup