database-schema-migrations
OfficialDesign robust PostgreSQL schemas with Sequelize.
Authoraddval
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Designing robust PostgreSQL schemas, generating deterministic Sequelize migrations, and implementing well-structured models and associations is error-prone and time-consuming. This Skill provides a structured approach to manage schema changes, enforce naming conventions, and keep migrations, seeds, and models in sync across teams.
Core Features & Use Cases
- Schema design guidance: best practices for tables, types, constraints, indexing, and naming conventions.
- Migration workflows: creating, applying, testing, and rolling back migrations using Sequelize CLI.
- Model & association patterns: standard approaches for hasMany, belongsTo, and many-to-many with join tables.
- Use Case: when adding a new feature requiring new tables and foreign keys, scaffold migrations and models consistently.
Quick Start
Run the generator script to scaffold a new model and its migration, then apply the migration to update the database.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: database-schema-migrations Download link: https://github.com/addval/finishd-platform/archive/main.zip#database-schema-migrations 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 223,000+ vetted skills library on demand.