Schema Migration Review

Use when reviewing or writing a database schema change for Bugzilla 5.0+/Harmony - anything touching Bugzilla/Install/DB.pm, Bugzilla/DB/Schema.pm, or code calling bz_add_column/bz_column_info/bz_alter_column/bz_add_index. Covers idempotent upgrade-script patterns, the abstract-schema type system, and the specific DB-specific SQL functions Harmony's own test suite forbids for MySQL/PostgreSQL/SQLite portability. Trigger for "will this migration run safely twice", "is this portable across databases", or schema/DDL patch review.

topunix 7fd2a19 3 files · 10.5 KB Updated

File contents

topunix/bugzilla-skills/tree/main/skills/schema-migration-review commit 7fd2a1945e

Frequently asked questions

npx skillmds@latest add topunix/schema-migration-review