Adding Sqlite Stores

Creates new SQLite-backed data stores in the main process. Covers the store class pattern (static open, _init, CRUD), idempotent migrations, JSON serialization, column whitelisting, and wiring into the app lifecycle. Use when adding persistence for a new data domain.

latchagent 9d2edd6 5.8 KB Updated

File contents

latchagent/latch-core/tree/main/.agents/skills/adding-sqlite-stores commit 9d2edd66d9

Frequently asked questions

npx skillmds@latest add latchagent/adding-sqlite-stores