Laravel MySQL → PostgreSQL schema risk check

Paste SHOW CREATE TABLE output, a mysqldump --no-data file, or Laravel migration files. You get the things that break on Postgres, most dangerous first. Runs in your browser; nothing is uploaded.

Get the schema: mysqldump --no-data your_db > schema.sql or SHOW CREATE TABLE users\G

Already moved and seeing errors? Paste your Postgres error, get the fix. Raw SQL to convert? MySQL → Postgres SQL translator.

What it checks

Schema only. Data problems (zero dates in rows, NUL bytes, tinyint(1) = 2, values already over 2^31, case-duplicate emails) need a look at the data: use the free read-only PHP checker (one file, MIT) against your MySQL database.

Each rule was tested on MariaDB 11.8 and Postgres 17 with Laravel 13. The tool is pattern-based, so treat it as a checklist, not proof.

Published with deed.page