Search

PythonReactSEOPDF
GitHub Skill

create-migration

Create a new database migration file for the OWID MySQL database. Use when the user needs to create a database schema change or migration.

owid☆ 1,512 Repository stars247 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

Create Database Migration

Create a new database migration file for the OWID MySQL 8 database.

Steps

  1. Run yarn createDbMigration db/migration/<NewMigrationName> where <NewMigrationName> is a descriptive name for the migration
  2. The generated filename will contain a timestamp prefix, so scan the db/migration/ directory to find the actual path of the new file
  3. Report the new file path to the user

Naming Guidelines

Choose a descriptive name for the migration that clearly indicates what schema change is being made (e.g., AddUserEmailIndex, CreateAuditLogTable, RemoveDeprecatedColumns).

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-02-04
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!