api-db
CommunityManage database schemas, migrate with confidence.
Authorcharlie83Gs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Managing database schemas, applying changes, and ensuring data integrity across different environments can be complex and error-prone without a robust migration system. This skill provides a reliable way to evolve your database.
Core Features & Use Cases
- Drizzle ORM Schema Definition: Define type-safe database schemas using Drizzle ORM, including relationships, enums, and JSONB fields, reducing schema-related errors.
- Automated Migrations: Generate and apply database migrations to evolve your schema reliably and consistently across all environments.
- PostgreSQL Client (
postgres): Understand and utilize thepostgresclient library for efficient and safe database interactions, preventing SQL injection. - Use Case: Add a new table to store user preferences. You'll define the schema using Drizzle, generate a migration, review the SQL, and then apply it to your development database, ensuring a smooth and error-free schema update.
Quick Start
Add a new last_login_at timestamp column to the app_users table, generate a migration, and apply it to the database.
Dependency Matrix
Required Modules
drizzle-ormdrizzle-kitpostgres
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: api-db Download link: https://github.com/charlie83Gs/communities/archive/main.zip#api-db Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.