SaaS core schema (users, orgs, plans)
Multi-tenant SaaS skeleton — organisations, users, plans, subscriptions, audit log. Ref shorthand `>` for many-to-one.
View example and source Edit in StudioCompatible with DBML (dbdiagram.io)
Database Markup Language — the lingua franca of relational schema design. Concise `Table users { id int [pk] name varchar }` syntax with explicit `Ref:` relationships, indexes, enums. Round-trips with dbdiagram.io exports — paste any DBML file and it renders.

Most users come to DBML from dbdiagram.io, DrawSQL or Lucidchart ERD. flowss runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.
Table users { id uuid [pk]; email varchar }
Table orders { id uuid [pk]; user_id uuid [ref: > users.id] }Paste this in the Studio code pane to see DBML render live. The full grammar is at the upstream-docs link above.
Multi-tenant SaaS skeleton — organisations, users, plans, subscriptions, audit log. Ref shorthand `>` for many-to-one.
View example and source Edit in StudioStorefront essentials — customers, products, variants, orders, line items, payments. Includes enums.
View example and source Edit in StudioPosts with many-to-many tags via a join table, threaded comments, authors.
View example and source Edit in StudioDouble-entry ledger — accounts, journal entries with debit/credit lines, daily balances.
View example and source Edit in StudioTenants, users, subscriptions, audit log.
View example and source Edit in StudioAggregate, events, and snapshot tables.
View example and source Edit in Studiodbml · ← Browse all engines · Quick-start guide