What problem does it solve?
This Skill simplifies and standardizes the process of defining database schemas, writing queries, and managing migrations with Drizzle ORM, ensuring type safety and efficient data operations.
Core Features & Use Cases
- Schema Definition: Provides clear examples for defining tables, columns, and relationships using Drizzle's type-safe API.
- Querying: Demonstrates how to perform select, insert, update, and delete operations with various operators and conditions.
- Migrations: Guides on generating, pushing, and applying database migrations using
drizzle-kit.
- Use Case: When building a new feature that requires user data, use this Skill to quickly define the
users and posts tables, write a query to fetch a user and their posts, and ensure migrations are correctly applied.
Quick Start
Use the drizzle skill to create a new schema for a 'products' table with 'id', 'name', and 'price' columns.