The panel /Rebase Studio
Run your database
from the same panel.
A SQL console, the row-level-security policy editor, a schema diagram, database branches, cron and logs. Studio is the developer workspace. It registers inside the same panel as CMS and runs against the same Postgres your API serves.
Tables are code
Tables are TypeScript: a defineTable call in backend/schema/. The SQL, the policies, the API and the panel's defaults all come from that one file, so there is no second model to keep in sync.
- Tables, columns and relations declared with defineTable in backend/schema/
- Access rules live on the table; labels and views live in frontend/src/cms/
- Zod schema generation for runtime validation
import { defineTable, col } from "@rebasepro/server/schema"; export const orders = defineTable("orders", { columns: { id: col.uuid().primaryKey().defaultRandom(), customer: col.text().notNull(), total: col.numeric({ precision: 10, scale: 2 }), status: col.enum(["pending", "shipped", "delivered"]), }, rls: [/* ... */], hooks: { afterSave: /* ... */ }, history: true, });
A change to this file is a diff in a pull request, reviewed like any other.
When the UI runs out, you are already in SQL.
Multiple tabs, autocomplete against your real schema, EXPLAIN, and results you can edit in place — running against your own Postgres, under the same row-level security as everything else.
SELECT p.title, p.status, u.display_name AS author, COUNT(c.id) AS comments FROM posts p JOIN users u ON p.author_id = u.id LEFT JOIN comments c ON c.post_id = p.id GROUP BY p.id, u.id LIMIT 5;
The rest of the toolbox
Every Studio tool ships with a scaffolded project and runs against your own database. Nothing here is a hosted service.
Row-level security
Define granular permissions per role, per table — enforced natively in PostgreSQL.
Schema visualizer
Interactive ERD showing tables, columns, and relationships in a visual diagram.
Database branches
Copy the whole database — schema, rows, policies — and switch your project onto it. When you are done, review what the branch changed, schema and rows side by side, then merge it back or delete it.
JS Console
Run JavaScript with the Rebase SDK in a live sandbox. Test queries and automate tasks.
Cron jobs
Monitor and manage scheduled background tasks. View logs, status, and run history.
API explorer
Interactive API documentation with live request testing. Browse and try every endpoint.
Logs explorer
System and query logs, streamed live. Filter by level, follow a slow query back to the statement that ran it.
Storage
Browse, upload and move files across every storage source your project declares — the same buckets your API writes to.
Backups
Browse and download every snapshot the scheduler has taken, with the size and age of each.
API keys
Issue scoped service keys for agents and server-to-server calls, and revoke one without touching the others.
Get started
Run your database from the panel.
Scaffold a project and Studio comes with it: SQL console, schema visualizer, RLS policy editor, branches, cron, storage and logs — against your own Postgres.
No account · No Docker · Built-in local Postgres · MIT