
Playbook - Build suite - About 3 hours
The intended result: A schema you will not have to migrate painfully when the app gets real users.
What you can do
The free tools in this guide open right here on this site. For PostgreSQL and Supabase you work in those services' own dashboards, because that part is done in the service itself. Where a step asks you to check or test something, you do it yourself.
| Time | About 3 hours |
|---|---|
| Steps | 5 steps, in order |
| Free tools used | Database Schema Designer, SQL Query Builder, JSON Data Studio |
| Outside services | PostgreSQL, Supabase |
| What you end with | A documented schema with keys, timestamps, and indexes matched to the app's real query patterns. |
Steps that use the free tools run in your browser. Steps that involve an outside service are done in that service's own dashboard in that service's own dashboard.
Step 1
List the five questions the app asks of its data most often - the schema serves those, not an imagined future.
Step 2
Model entities and relationships with database-schema-designer and check every relationship for the orphaned-record question: what happens when the parent is deleted.
Step 3
Add the boring-but-essential columns now: created_at, updated_at, and a real primary key on every table.
Step 4
Write the three most common queries in sql-query-builder and confirm each can use an index.
Step 5
Export the schema documentation so the next person (or agent) does not have to reverse-engineer it.
A documented schema with keys, timestamps, and indexes matched to the app's real query patterns.
Database Schema Designer · SQL Query Builder · JSON Data Studio - all free, no account needed for the tools themselves.
What to do at each step, and which free tool does the work.
Step 1 of 5
List the five questions the app asks of its data most often - the schema serves those, not an imagined future.
This step is done by you, in the service's own dashboard where one is involved. Write down what you decided so the next step has something to start from.
Step 2 of 5
Model entities and relationships with database-schema-designer and check every relationship for the orphaned-record question: what happens when the parent is deleted.
Use Database Schema Designer. Describe tables in plain text. Get CREATE TABLE SQL for PostgreSQL, MySQL or SQLite, a relationship diagram and a data dictionary.
Step 3 of 5
Add the boring-but-essential columns now: created_at, updated_at, and a real primary key on every table.
This step is done by you, in the service's own dashboard where one is involved. Write down what you decided so the next step has something to start from.
Step 4 of 5
Write the three most common queries in sql-query-builder and confirm each can use an index.
Use SQL Query Builder. Build SELECT queries visually - tables, columns, joins, filters, ordering, limits - and copy the SQL.
Visual table and column picking: Name your tables and columns; the SELECT and FROM clauses assemble as you work. Joins by matching keys: Add a second table and the likely join condition is proposed from column names; edit it inline.
Step 5 of 5
Export the schema documentation so the next person (or agent) does not have to reverse-engineer it.
This step is done by you, in the service's own dashboard where one is involved. Write down what you decided so the next step has something to start from.
Every tool runs in your browser and needs no account.
Type table names and fields such as email: string(200) required unique. The tool writes the CREATE TABLE statements for your dialect, works out foreign keys from names like customer_id or from an arrow, orders the tables so references exist when they are created, draws the relationships, and produces a Markdown data dictionary. Problems are listed with the line they came from. Everything runs in your browser. Nothing is uploaded.
Pick the tables, tap the columns, set the filters. Clean, correct SQL assembles itself as you work, with joins wired by matching key names.
Real output from the tool
YOU ENTER: Input users: id, name, email, created_at orders: id, user_id, total, status From users Input orders Input orders.user_id = users.id Input orders.status Input = Input 'shipped' Order by orders.created_at DESC Limit 100 THE TOOL RETURNS: SELECT users.name, orders.total FROM users JOIN orders ON orders.user_id = users.id;
Paste JSON and learn what is wrong with it, down to the line and column. Repair the usual mistakes with a visible list of every change. Then query it, browse it as a tree or a table, infer a schema, flatten it for a spreadsheet or a config file, and export. Everything runs in your browser. Nothing is uploaded or saved.
Each connector page states what it does.
Uses:
Do this part in PostgreSQL itself.
Uses:
Do this part in Supabase itself.
Plan for about 3 hours. It has 5 steps and you can stop after any of them and pick up later.
No account is needed for the free tools in this playbook. They run in your browser.
A documented schema with keys, timestamps, and indexes matched to the app's real query patterns.
Steps that involve PostgreSQL, Supabase are done in that service itself, because that part is done in the service itself.
You can, but the steps are in the order they are because each uses the output of the one before. The first step is: List the five questions the app asks of its data most often - the schema serves those, not an imagined future.
Standard SQL output that runs on Postgres, MySQL, SQLite and SQL Server with at most identifier-quote tweaks.
The builder focuses on SELECT, the query people reach for help with. Write-side statements are on the roadmap.

Open the free tools this playbook uses, or pick another goal.
In depth
Design a database that survives growth has 5 steps. This part lays them out in one place with the tools and services each step uses, taken from the guide itself.
Overview
At a glance
Build suite - About 3 hours. The intended result: A schema you will not have to migrate painfully when the app gets real users.

01 / 22
The intended result: A schema you will not have to migrate painfully when the app gets real users.
One sheet
Every step from this playbook in one table, with the tool or place where each step happens.
| Step | What to do | Where it happens |
|---|---|---|
| Step 1 | List the five questions the app asks of its data most often - the schema serves those, not an imagined future. | You, in the service's own dashboard |
| Step 2 | Model entities and relationships with database-schema-designer and check every relationship for the orphaned-record question: what happens when the parent is deleted. | Database Schema Designer |
| Step 3 | Add the boring-but-essential columns now: created_at, updated_at, and a real primary key on every table. | You, in the service's own dashboard |
| Step 4 | Write the three most common queries in sql-query-builder and confirm each can use an index. | SQL Query Builder |
| Step 5 | Export the schema documentation so the next person (or agent) does not have to reverse-engineer it. | You, in the service's own dashboard |

02 / 22
A schema you will not have to migrate painfully when the app gets real users.
Free tools
Each tool runs in your browser and needs no account. The table says what each one does and what it gives you.
| Tool | What it does | What is inside |
|---|---|---|
| Database Schema Designer | Type table names and fields such as email: string(200) required unique. The tool writes the CREATE TABLE statements for your dialect, works out foreign keys from names like customer_id or from an arrow, orders the tables so references exist when they are created, draws the relationships, and produces a Markdown data dictionary. Problems are listed with the line they came from. Everything runs in your browser. Nothing is uploaded. | |
| SQL Query Builder | Pick the tables, tap the columns, set the filters. Clean, correct SQL assembles itself as you work, with joins wired by matching key names. | Visual table and column picking. Name your tables and columns; the SELECT and FROM clauses assemble as you work. Joins by matching keys. Add a second table and the likely join condition is proposed from column names; edit it inline. Filters, order, limits. WHERE conditions, ORDER BY and LIMIT are guided fields, not syntax you recall. Dialect-clean output. Standard SQL that runs on Postgres, MySQL and SQLite, with identifiers quoted only when needed. |
| JSON Data Studio | Paste JSON and learn what is wrong with it, down to the line and column. Repair the usual mistakes with a visible list of every change. Then query it, browse it as a tree or a table, infer a schema, flatten it for a spreadsheet or a config file, and export. Everything runs in your browser. Nothing is uploaded or saved. |

03 / 22
List the five questions the app asks of its data most often - the schema serves those, not an imagined future.
Outside services
These steps happen in the service itself. The connector pages say what each connector does.
| Service | What the connector does |
|---|---|
| PostgreSQL | Slow-query reports compile weekly with indexes suggested. Schema changes diff into a migration review note. Table-growth anomalies alert before disk pressure. Do this part in PostgreSQL itself. |
| Supabase | New rows in a signup table start the onboarding playbook. Edge-function errors file triage entries nightly. Database backups verify on a schedule with a pass/fail note. Do this part in Supabase itself. |

04 / 22
Add the boring-but-essential columns now: created_at, updated_at, and a real primary key on every table.
Tool by tool
The facts below are taken from the Database Schema Designer page itself. They are what the tool does, in the order the page lists them.

05 / 22
They are what the tool does, in the order the page lists them.
More
This comes from the Database Schema Designer page.
More
This comes from the Database Schema Designer page.
More
This comes from the Database Schema Designer page.
Steps
The steps are taken from the Database Schema Designer page.
Limits
These limits are stated on the Database Schema Designer page.
Tool by tool
The facts below are taken from the SQL Query Builder page itself. They are what the tool does, in the order the page lists them.
Questions
These answers come from the SQL Query Builder page.
Tool by tool
The facts below are taken from the JSON Data Studio page itself. They are what the tool does, in the order the page lists them.
More
This comes from the JSON Data Studio page.
More
This comes from the JSON Data Studio page.
More
This comes from the JSON Data Studio page.
Steps
The steps are taken from the JSON Data Studio page.
Limits
These limits are stated on the JSON Data Studio page.
Problems
These cases come from the JSON Data Studio page.
Worked examples
These examples are read from the Supabase page itself.
Outcomes
Each line is the intended result printed on that guide.
Finish
A schema you will not have to migrate painfully when the app gets real users.
Work through the steps in the order shown. Each one uses what the one before produced.

22 / 22
A schema you will not have to migrate painfully when the app gets real users.