Skip to content

Add Drizzle ORM with /hozo database-backed index#55

Draft
Aias wants to merge 2 commits intomainfrom
aias/add-drizzle-orm
Draft

Add Drizzle ORM with /hozo database-backed index#55
Aias wants to merge 2 commits intomainfrom
aias/add-drizzle-orm

Conversation

@Aias
Copy link
Owner

@Aias Aias commented Feb 16, 2026

Groundwork for migrating barnsworthburning off the Airtable API to the shared PostgreSQL database managed by Red Cliff Record.

  • Added drizzle-orm (beta, matching RCR), postgres (postgres.js driver), and @aias/hozo (shared schema package) as dependencies
  • Database connection in $lib/server/db.ts using $env/dynamic/private for the connection string
  • New /hozo route that queries 100 most recent curated, non-private entities and concepts from the records table, interleaved alphabetically — mirroring the existing Airtable-backed footer index
  • Added AGENTS.md with project conventions and CLAUDE.md symlink

Connects to the shared PostgreSQL database via postgres.js driver and
@aias/hozo schema. The /hozo route queries curated, non-private entity
and concept records and renders them in the same index layout as the
existing Airtable-backed footer.
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 16, 2026

Deploying barnsworthburning with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2f36bf4
Status: ✅  Deploy successful!
Preview URL: https://5c2ee32c.barnsworthburning.pages.dev
Branch Preview URL: https://aias-add-drizzle-orm.barnsworthburning.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant