New DB Table

Adding a database table, modifying the schema, or creating a new model/entity in this TanStack Start + Cloudflare D1 project. Use this skill whenever the user asks to add a table, create a model, define a new entity, add columns, change the schema, or anything involving `src/db/schema.ts`. Also trigger when the user says things like "I need a users table", "add a posts model", "store X in the database", "add a field to...", or "set up the DB for...". This skill covers Drizzle ORM column types for SQLite/D1, the migration workflow (generate then apply via wrangler), Zod schema derivation with drizzle-zod, and common pitfalls like using Postgres types on D1.

fayazara 76db3a1 4.4 KB Updated

File contents

fayazara/what-can-brower-run-do/tree/main/.agents/skills/new-db-table commit 76db3a1bba

Frequently asked questions

npx skillmds@latest add fayazara/new-db-table