What problem does it solve?
This Skill removes the risk and repetition of hand-managing PostgreSQL schema work by standardizing Drizzle ORM tables, enums, relations, migrations, and query patterns.
Core Features & Use Cases
- Table Definitions: Create new
pgTable models with shared columns, indexes, foreign keys, and naming conventions that match the ChatbotX database package.
- Enum and Relation Design: Define constrained string fields with database enums and wire up one-to-one, one-to-many, and many-to-many relations in a consistent way.
- Migration Workflow: Apply the expected sequence for schema edits, migration generation, migration execution, and database inspection.
- Safe Querying: Use repository- and service-level query patterns for relational reads, SQL builder updates, inserts, and transactional multi-write operations.
Quick Start
Ask the skill to add or modify a ChatbotX database table, relation, or migration while preserving the shared column, enum, and transaction conventions.