What problem does it solve?
This Skill removes the risk and guesswork from changing Aidog's local SQLite schema, especially when you need to add tables, add columns, change constraints, split fields, or rebuild tables without breaking existing user databases.
Core Features & Use Cases
- Forward-only migrations: Follows Aidog's validated migration style with numbered, append-only SQL files and no rollback path.
- SQLite rebuild patterns: Handles schema changes SQLite cannot do in place, such as adding UNIQUE constraints or renaming and splitting columns.
- Compatibility safeguards: Keeps migrations idempotent, adds defaults for new columns, filters conflict-prone legacy rows, and preserves indexes during table rebuilds.
- Use case: Update Aidog's database to introduce a new schema field or enforce a new constraint while keeping existing installations working during startup migration.
Quick Start
Ask the assistant to create the next Aidog SQLite migration for a specific schema change and update the related Rust database code paths in sync.