Feedback

Basic information

Repository
owid
Skill
create-migration

About create-migration

Create a new branch with the Graphite CLI, commit all current working tree changes, and submit the PR, while excluding plan markdown files by stashing them first and restoring afterward. Use when asked to make a Graphite branch + commit + PR and to follow repo commit-message rules.

create-migration is an agent skill listed in the AddMCP.net directory, published by owid. Runtime: TypeScript. The repository has 1,572 GitHub stars. Source code is hosted on github.com. Related topics: data visualization, react, typescript.

Overview

What is create-migration?


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


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).

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬