dsh-db-migration
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-db-migration
Paste the following prompt into your AI chat to install this plugin:
Install by running dsh plugin install uckkk/dsh-db-migration in DeepSeek Harness; source at https://github.com/uckkk/dsh-db-migration
About this plugin
Manually managing database schema changes means diffing two sets of CREATE TABLE statements column by column and hand-writing ALTER TABLE statements — tedious and easy to get wrong. dsh-db-migration collapses that process into a single step: feed it the old and new DDL files, and it identifies added, removed, or type-changed tables and columns, then outputs ready-to-use migration SQL.
It covers basic column definitions for MySQL, PostgreSQL, and SQLite, correctly handling types with parentheses or commas such as DECIMAL(10,2), VARCHAR(255), and ENUM. Everything runs locally with a pure Node implementation — no network calls or external services required. Keep in mind that foreign keys, indexes, composite primary keys, and complex defaults are out of scope; treat the generated SQL as a starting point and review it before running against production data.
If your workflow frequently involves evolving database schemas and you want an AI agent to help draft migration scripts, this plugin is a lightweight, dependency-free utility that gets the job done.
Use Cases
- Generate migration SQL by diffing old and new DDL versions
- Assist database schema changes within an AI agent workflow
- Produce ALTER TABLE and DROP TABLE statements in a fully offline local setup
Best For
- Backend developers who frequently evolve database schemas
- Tooling users who need SQL assistance inside agent workflows
- Independent developers who prefer local, dependency-free utilities
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.