Install
openclaw skills install schema-migratorApplies pending database migration files against the target database
openclaw skills install schema-migrator读取索引分析器生成的 Schema 建议文件,验证并对目标数据库执行索引清理操作。记录已执行的清理到数据库。
/root/.schema/recommendation.json 获取待清理索引列表。idx_ 前缀的标识符)。{
"execution_timestamp": "2026-06-01T12:00:10",
"migrations_executed": ["idx_users_email_unique"],
"errors": [],
"status": "completed"
}
见 scripts/migrate.py。