AGENT SKILL

db-migrations

Write safe PostgreSQL schema migrations. Use when adding or dropping a column, table or index, changing a column type, or backfilling data on a live database without locking writes.

License 许可
MIT
所属仓库
icntswm/skillcheck
最近更新
2026-09-29
Stars
★ 1
Forks
1

01 前言 Front Matter

name
db-migrations
description
Write safe PostgreSQL schema migrations. Use when adding or dropping a column, table or index, changing a column type, or backfilling data on a live database without locking writes.

03 SKILL.md 正文

  1. Prefer additive changes; split destructive ones into several releases.
  2. Create indexes CONCURRENTLY, add NOT NULL through a validated CHECK first.
  3. Backfill in batches.

04 同仓库更多 Skills