schema-migration
/schema-migration
Projektuje, przegląda i wdraża migracje schematu bazy danych: kolumny, indeksy, ograniczenia i relacje. Przydaje się przy każdej zmianie struktury danych.
- Autor
- helx0071 ↗
- Repozytorium
- skillsmo ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Projektuje, przegląda i wdraża migracje schematu bazy danych: kolumny, indeksy, ograniczenia i relacje. Przydaje się przy każdej zmianie struktury danych.
Oryginalny opis (EN)
Design, review, or implement a database schema migration. Use when adding, changing, or removing columns, indexes, constraints, relationships, or stored data.
Jak działa
- Goal
- Workflow
- Decision rules
- Boundaries
- Completion standard
- Further reading
Podgląd SKILL.md
--- name: schema-migration description: "Design, review, or implement a database schema migration. Use when adding, changing, or removing columns, indexes, constraints, relationships, or stored data." --- # Database schema migration review ## Goal Preserve data integrity and application availability while moving schema and code through compatible states. ## Workflow 1. Inspect migration framework, database engine/version, current schema, data shape, deployment order, and application versions that may coexist. 2. State the data invariant and how old and new application code will behave before, during, and after the migration. 3. Write an additive or staged migration when possible; account for backfill size, locks, defaults, indexes, nullability, and constraints. 4. Define preflight and post-migration checks, failure handling, rollback or forward repair, and cleanup criteria. 5. Test against representative schema/data and report what remains unverified for production scale. ## Decision rules - Separate schema expansion, data backfill, code switch, and destructive contraction when compatibility matters. - Use database constraints to enforce durable invariants, with safe validation timing. - Estimate table size and lock impact from measured information rather than assuming trivial execution. ## Boundaries - Do not run migrations against production without explicit authorization. - Do not drop or rewrite data without a confirmed retention and recovery plan. ## Completion standard Return the requested artifact or findings with enough evidence for a reviewer to understand what changed, what was checked, and what remains uncertain. Distinguish observed facts, inferred risks, and unverified assumptions. Keep the scope tied to the user's request. ## Further reading - [Field guide](references/field-guide.md) — use for task-specific review questions and edge cases. - [Source and rights notes](references/source-notes.md) — use when maintaining this package or reviewing its provenance.
Pliki w paczce (3)
- SKILL.md 2 KB
- references/field-guide.md 1 KB
- references/source-notes.md 2 KB
Wersje
W bazie nie ma innych skilli o nazwie schema-migration.
Migawka bazy z 13.11.2026 · wersja paczki d3259a3fabd0 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100flux-schema
Projektuje i buduje schemat bazy danych: tabele, kolumny, typy, indeksy, ograniczenia i relacje, a z opisu dziedziny generuje schemat i zapisuje pliki. - 96db-change
Prowadzi zmiany schematu bazy, modeli i zapytań, w tym indeksy, ograniczenia i bezpieczeństwo danych. - 100database-schema
Wdraża i sprawdza zmiany schematu bazy SQLite w projekcie Cursor BYOK: tabele, kolumny, indeksy, klucze obce i migracje SQLx. - 100generate-migration
Generuje lub przegląda migracje bazy Django dla Sentry, w tym migracje danych, dodawanie i usuwanie kolumn i tabel, indeksy oraz rozwiązywanie konfliktów migracji. - 100db-migration
Stosuje zasady zmian schematu bazy: nowe tabele, kolumny, indeksy, ograniczenia, typy wyliczeniowe, wyzwalacze i uzupełnianie danych. - 90database-design
Dobiera bazę danych i ORM, projektuje schemat oraz indeksy i planuje bezpieczne migracje.