migrations

Manage additive and destructive database schema changes for LiteORM applications.

5|Updated Jun 18, 2026
One-click install
npx skills add https://github.com/go-again/liteorm --skill migrations-go-again
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrations
Source: https://github.com/go-again/liteorm/tree/main/skills/migrations
Command: npx skills add https://github.com/go-again/liteorm --skill migrations-go-again

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manages schema changes for databases used by LiteORM applications, offering automatic or manual methods to evolve your database schema over time.

Core Features & Use Cases

  • AutoMigrate: Automatically apply additive changes to the database schema.
  • GenerateMigration: Produce reviewable SQL for destructive schema changes.
  • migrate Runner: Execute or review the migrations for a smooth transition.
  • WritePair: Integrate generated SQL with your existing migration tools.

Quick Start

Apply the migration for your 'users' model by running 'migrate Up' from the 'migrations' directory.

Frequently Asked Questions about migrations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate database schema changes with LiteORM?

You can automate database schema changes by running the AutoMigrate function, which automatically applies additive schema evolutions to keep your LiteORM database updated without manual SQL.

How do I generate migration SQL for destructive schema changes?

Use GenerateMigration to produce reviewable SQL for destructive schema changes. This outputs manual migration SQL that you can review before executing with the migration runner.

Can I integrate generated migration SQL with my existing migration tools?

Yes, you can integrate generated SQL using the WritePair feature, which connects the produced migration SQL with your existing migration tools for smooth schema transitions.

What is the difference between automatic and manual database migration?

Automatic migration applies additive schema changes directly via AutoMigrate, while manual migration generates SQL for destructive changes for review before execution using a migration runner.

How do I run a database migration for my LiteORM models?

Run the migrate Up command from your migrations directory to execute the schema evolution for your LiteORM models and apply the pending database changes.