dsh-db-migration
数据库迁移生成:对比两个 SQL DDL,检测表/列结构差异并生成 ALTER TABLE 迁移 SQL
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 16, 2026
- Updated
- Aug 17, 2026
Introduction
dsh-db-migration · 数据库迁移生成:对比两个 SQL DDL 文件(CREATE TABLE),检测新增/删除/变更的表与列,生成 ALTER TABLE 迁移 SQL
数据库迁移生成:对比两个 SQL DDL 文件(CREATE TABLE),检测新增/删除/变更的表与列,生成 ALTER TABLE 迁移 SQL。纯 Node 实现,零第三方运行时依赖,peer-only 依赖(随 DSH 宿主加载)。 数据库迁移生成:对比两个 SQL DDL 文件(CREATE TABLE),检测新增/删除/变更的表与列,生成 ALTER TABLE 迁移 SQL — a DeepSeek Harness (dsh) plugin. Pure Node, zero runtime dependencies.
工具 Tools
diff_schema
安装 Install
dsh plugin --profile web add dsh-db-migration
# 或任意 profile:dsh plugin --profile <name> add dsh-db-migration
License
MIT © istone