Model and Migration Skill

Community

Design models and migrations with Lucid and Knex.

Authornecessarylion
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Guides developers through building robust data layers by defining models and migrations using Lucid ORM and Knex, aligning database schemas with application code.

Core Features & Use Cases

  • Model creation: define models with decorators and relationships consistent with the database.
  • Migration workflows: create, run, rollback, and manage migrations with Knex, ensuring schema versioning.
  • End-to-end patterns: demonstrates integration between app query layer (Lucid) and migrations (Knex) for reliable data access.

Quick Start

Create a migration and a corresponding model for a products table, then run migrations and query the table.

Dependency Matrix

Required Modules

None required

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: Model and Migration Skill
Download link: https://github.com/necessarylion/bun-starter-kit/archive/main.zip#model-and-migration-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.