Analyze Postgres, Supabase Postgres, or Prisma/Postgres migration SQL for destructive oper
Analyze Postgres, Supabase Postgres, or Prisma/Postgres migration SQL for destructive operations, lock/data-loss risk, backwards-compatibility hazards, rollback issues, and safer sequencing. Returns structured findings with evidence and confidence.
250000 (raw units)
price
3
calls / 30d
1
unique payers
2026-09-16
updated
Provider
i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x94bab5853bff59401b355371f9c4b8ca6d6eca9d",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "250000",
"maxTimeoutSeconds": 120
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"dialect": "postgres",
"migration": "ALTER TABLE users ADD COLUMN plan TEXT;"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"findings": [],
"risk": "low",
"rollbackNotes": [],
"safeSequence": [
"Apply migration in staging first."
],
"score": 10,
"unknowns": []
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"context": {
"additionalProperties": false,
"properties": {
"applicationCompatibilityNotes": {
"type": "string"
},
"postgresVersion": {
"type": "string"
},
"tableSizes": {
"additionalProperties": {
"type": "number"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"type": "object"
},
"dialect": {
"enum": [
"postgres",
"supabase-postgres",
"prisma-postgres"
],
"type": "string"
},
"migration": {
"type": "string"
}
},
"required": [
"dialect",
"migration"
],
"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": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"findings": {
"items": {
"additionalProperties": false,
"properties": {
"confidence": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"evidence": {
"type": "string"
},
"id": {
"type": "string"
},
"recommendation": {
"type": "string"
},
"risk": {
"type": "string"
},
"severity": {
"enum": [
"low",
"medium",
"high",
"critical"
],
"type": "string"
},
"statement": {
"type": "string"
}
},
"required": [
"id",
"severity",
"statement",
"risk",
"evidence",
"recommendation",
"confidence"
],
"type": "object"
},
"type": "array"
},
"risk": {
"enum": [
"low",
"medium",
"high",
"critical"
],
"type": "string"
},
"rollbackNotes": {
"items": {
"type": "string"
},
"type": "array"
},
"safeSequence": {
"items": {
"type": "string"
},
"type": "array"
},
"score": {
"maximum": 100,
"minimum": 0,
"type": "number"
},
"unknowns": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"risk",
"score",
"findings",
"safeSequence",
"rollbackNotes",
"unknowns"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"required": false
}
}Use it
curl
curl "https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/migration-safety-auditor" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/migration-safety-auditor");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/migration-safety-auditor")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7901.json, and this resource appears in /discovery/resources and /discovery/search.