AI Agent Hub
Back to plugins
⚙️

dsh-db-migration

Workflow Updated 2026.08.19

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