Drizzle ORM Database Management

•
4
•

Manages PostgreSQL databases using Drizzle ORM through a strict repository pattern and schema-first workflow.

This skill provides a standardized framework for building robust, scalable database layers in PostgreSQL using Drizzle ORM. It enforces high-quality architectural patterns, specifically requiring a Repository layer to abstract data access from business logic and prevent direct database leakage. By automating schema definitions, migration workflows, and common query patterns, it ensures consistency across database operations while adhering to best practices like snake_case naming conventions, UUID primary keys, and mandatory timestamp tracking.

Características Principales

01Strict Repository Pattern enforcement for decoupled data access
02Standardized PostgreSQL schema definitions using Drizzle ORM
03Type-safe query building with complex filtering, ordering, and relations
04Comprehensive migration management workflow (Generate, Review, Apply)
05Pre-configured singleton database client and connection pooling setup
064 GitHub stars

Casos de Uso

01Refactoring legacy codebases to move from direct database queries to clean Repository patterns
02Managing complex database schema evolutions and migrations within a Bun-based development environment
03Building a type-safe data access layer for a new PostgreSQL backend application