Files
zooqueen 79585ce8da Longform — a minimalist personal essay blog on the Hanzo stack
Vite + React 19 + @hanzo/gui + @hanzo/iam + @hanzo/base, forked from
hanzo-starter. Three views (year-grouped index, distraction-free reading
column with drop-cap, markdown editor with publish toggle) over an
org-scoped essays collection in Hanzo Base. Warm-paper editorial design.
2026-07-21 10:37:58 -07:00

15 lines
638 B
SQL

-- Hanzo Base schema for this app (the `databaseSchema` DDL).
--
-- On publish, Hanzo Cloud translates each CREATE TABLE into a Hanzo Base
-- collection via `provisionBaseFromDDL` (additive + idempotent). Base manages
-- `id`/`created`/`updated`/`owner`/`org` itself, so they are never re-declared
-- here; every row is stamped with the verified IAM `owner`+`org` and is
-- org-scoped (a member of your org reads/writes it; other orgs cannot see it).
--
-- Keep this file in lockstep with what the app reads/writes (src/views/notes.tsx).
CREATE TABLE IF NOT EXISTS notes (
id INTEGER PRIMARY KEY AUTOINCREMENT,
body TEXT NOT NULL
);