new-migration
SolidAdd or change decant's SQLite schema safely. Use when adding a column, table, index, or FTS change to the archive, when bumping LATEST_SCHEMA_VERSION, when a SchemaDriftError appears on open, or when reviewing a change that touches src/db.ts, src/schema.sql, or src/schema-manifest.ts.
Install
Quality Score: 81/100
Skill Content
Details
- Author
- dosu-ai
- Repository
- dosu-ai/decant
- Created
- 2 months ago
- Last Updated
- yesterday
- Language
- TypeScript
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
db-migration
Make a database schema change safely — edit schema.ts, generate the migration, review the SQL, apply it. Use for any change under src/db/.
add-db-migration
Use when a ticket requires a database schema change — a new table/column, an index, a constraint, or a backfill. Invoke for "add a migration for X", "alter the schema", or any change to the persisted data model. Schema changes are high-risk; treat them carefully.
database-migrations
How to write safe, reversible, zero-downtime database schema migrations — additive-first changes, the expand/migrate/contract pattern, batched backfills, concurrent index builds, safe NOT NULL, rollbacks, and the locking pitfalls that cause outages. A deep reference with runnable checks.