{% extends "base.html" %} {% block title %}{{ 'Edit' if collection_id else 'Create' }} Collection{% endblock %} {% block content %}
Define your collection structure and schema
Only lowercase letters, numbers, and underscores. Cannot be changed after creation.
Type cannot be changed after creation.
Auth collections are fully implemented! This will automatically add authentication fields (email, password, verified) and create authentication endpoints (/auth/register, /auth/login).
email
password
verified
/auth/register
/auth/login
Perfect for: customers, vendors, team members, or any user type needing authentication.
View collections are virtual! They don't store data but compute it from other collections. Configure the query below to define what data to show.
Perfect for: statistics, joined data, aggregations, reports, dashboards.
The main collection to query from
Comma-separated list of fields to select (use table.field notation)
Comma-separated list of fields to group by (for aggregations)
Comma-separated list (prefix with - for descending)
How long to cache results (0 = no caching, default: 300)
Resulting SQL Query (preview):
SELECT FROM GROUP BY ORDER BY
Which collection to link to
Type of relationship
Comma-separated field names to show
Comma-separated options
1 for single select, >1 for multi-select