Skip to main content
在 Manus 中运行任何 Skill
一键导入

database-migrations

星标6
分支0
更新时间2026年4月15日 03:59

Safe schema evolution for SQLite and Supabase — idempotent migrations, IF NOT EXISTS guards, TypeScript interface sync, rollback strategies. Use this skill whenever adding tables, columns, or indexes to schema.sql or supabase/migrations/, when the user mentions "new table", "add column", "schema change", "migration", "ALTER TABLE", or "rollback". Also use when types.ts interfaces need to match a schema update, when preparing data for Supabase v2 sync, or when state-store.ts CRUD functions change. Even small schema tweaks benefit from this checklist because SQLite ALTER TABLE is severely limited and one wrong move can corrupt data.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly