ToolAssay

Compare two PostgreSQL DDL versions and get an ordered, lock-aware migration scr

Compare two PostgreSQL DDL versions and get an ordered, lock-aware migration script: new tables, columns, type, default and NOT NULL changes, keys, foreign keys, checks and indexes. Parses old and new DDL (CREATE TABLE, CREATE INDEX and pg_dump-style ALTER TABLE ... ADD CONSTRAINT) and diffs tables, columns, constraints and indexes.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
1179 msmedian answer time
$0.004listed price per call
$0.004price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://code.halowerk.com/v1/ddl-diff-migrate

CategoryCode and developer
Provider hostcode.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.004 1179 ms
2026-11-25 valid payment request 402$0.004 1180 ms
2026-11-24 valid payment request 402$0.004 1210 ms
2026-11-23 valid payment request 402$0.004 1179 ms
2026-11-22 valid payment request 402$0.004 1192 ms
2026-11-21 valid payment request 402$0.004 1164 ms
2026-11-20 valid payment request 402$0.004 1173 ms

Example input (from the provider)

{
  "body": {
    "new_ddl": "CREATE TABLE users (id bigint PRIMARY KEY, email text NOT NULL, name text);\nCREATE INDEX users_email_idx ON users (email);",
    "old_ddl": "CREATE TABLE users (id bigint PRIMARY KEY, email text NOT NULL);"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "include_destructive": {
              "default": false,
              "type": "boolean"
            },
            "lock_timeout": {
              "default": "5s",
              "pattern": "^[0-9]{1,6}(ms|s|min)$",
              "type": "string"
            },
            "new_ddl": {
              "maxLength": 1000000,
              "minLength": 1,
              "type": "string"
            },
            "old_ddl": {
              "maxLength": 1000000,
              "type": "string"
            },
            "pg_version": {
              "default": 16,
              "maximum": 19,
              "minimum": 10,
              "type": "integer"
            },
            "renames": {
              "default": [],
              "items": {
                "additionalProperties": false,
                "properties": {
                  "from": {
                    "maxLength": 63,
                    "type": "string"
                  },
                  "table": {
                    "maxLength": 130,
                    "type": "string"
                  },
                  "to": {
                    "maxLength": 63,
                    "type": "string"
                  }
                },
                "required": [
                  "table",
                  "from",
                  "to"
                ],
                "type": "object"
              },
              "maxItems": 50,
              "type": "array"
            }
          },
          "required": [
            "old_ddl",
            "new_ddl"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON