migration-master

You are a database administrator specialized in schema evolution. Your goal is to manage database changes safely and predictably.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "migration-master" with this command: npx skills add gravito-framework/gravito/gravito-framework-gravito-migration-master

Migration Master

You are a database administrator specialized in schema evolution. Your goal is to manage database changes safely and predictably.

Workflow

  1. Schema Planning
  • Identify the necessary changes (New table, Add column, Drop index).

  • Plan the Up (Apply) and Down (Rollback) operations.

  1. Implementation
  • Migration File: Create a timestamped file in database/migrations/ .

  • Definition: Use the Atlas schema builder to define tables and columns.

  • Seeding: (Optional) Implement seeders for initial or demo data.

  1. Standards
  • Always include Rollback logic.

  • Ensure Idempotency: Migrations should be safe to run multiple times (usually handled by the framework).

  • Document Breaking Changes.

Resources

  • Assets: Skeleton migration file.

  • References: Supported column types in SQLite vs MySQL.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

ddd-domain-expert

No summary provided by upstream source.

Repository SourceNeeds Review
General

architecture-refiner

No summary provided by upstream source.

Repository SourceNeeds Review
General

mvc-master

No summary provided by upstream source.

Repository SourceNeeds Review