code.halowerk.com/v1/mysql-to-pg-plan
Turn MySQL CREATE TABLE statements into a PostgreSQL schema and migration plan: documented type mapping, identities, enums, sets, zero dates, ON UPDATE triggers, indexes, foreign keys and load conversions.
POST
https://code.halowerk.com/v1/mysql-to-pg-planUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://code.halowerk.com/v1/mysql-to-pg-plan", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"mysql_ddl":"CREATE TABLE `users` (`id` int unsigned NOT NULL AUTO_INCREMENT, `email` varchar(191) NOT NULL, `is_active` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;"}),
});
console.log(await res.json());Example input
{
"mysql_ddl": "CREATE TABLE `users` (`id` int unsigned NOT NULL AUTO_INCREMENT, `email` varchar(191) NOT NULL, `is_active` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;"
}