Skip to main content

schema-diff

Compare two schema states and surface the risky changes. Use before applying migrations or after a model change.

Informations de source

Dépôt
Archive228/loopkit
Dernière activité de la source
29 juin 2026 à 21:52
Langue détectée de SKILL.md
anglais
Étoiles
757
Forks
124

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
schema-diff
description
Compare two schema states and surface the risky changes. Use before applying migrations or after a model change.
when_to_use
reviewing a migration, "what changed in the schema", pre-deploy check
# Schema Diff Diff old vs new schema. Flag by risk: - **Destructive** (high): dropped column/table, narrowed type, new NOT NULL on existing rows, dropped index a query relies on. - **Locking** (high at scale): index without CONCURRENTLY, type change that rewrites the table. - **Safe**: new nullable column, new table, new index CONCURRENTLY. For each destructive change: is data lost? is it reversible? is there a backfill? Output a risk-ranked list and a go/no-go with the safe rollout order.
Voir sur GitHub