Skip to main content

schema-diff

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

معلومات المصدر

المستودع
Archive228/loopkit
آخر نشاط في المصدر
٢٩ يونيو ٢٠٢٦ في ٢١:٥٢
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٧٥٧
التفرعات
١٢٤

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
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.
عرض على GitHub