Skip to content
Kitbay
Skill

Create database migration

MITUpdated on Nov 11, 202655,770GitHub stars

A contributor skill in the Ghost repository, used as a checklist alongside Ghost's database migration guide, for any change to Ghost's MySQL schema: adding, removing or renaming tables or columns, adding settings, creating indexes or updating data.

What the skill teaches

A contributor skill in the Ghost repository, used as a checklist alongside Ghost's database migration guide, for any change to Ghost's MySQL schema: adding, removing or renaming tables or columns, adding settings, creating indexes or updating data. The agent generates the migration file with the repository's generator rather than by hand, writes it with Ghost's migration helpers, updates the schema definition to match, and tests migrating forward, rolling back and migrating forward again. It then runs the migration integration test, updates the exporter's table lists and its test when a table is added or dropped, runs the schema sync and integrity checks, and repeats the unit tests until they pass. Tables still being designed can be marked as in development instead.

Capabilities

Not stated in its documentation