Database Builder
Design a database by naming tables and columns in plain words. Links between tables are made as you go, and the SQL is written for you, ready to import in phpMyAdmin or use with SQLite. Or open an existing database's structure to see it as a diagram, find problems, and get the SQL to fix them.
Drag tables to arrange them. Click one to edit it.
Start a database
Choose Start from… for a ready-made design, open an existing database's structure with Open…, or click + Table to begin from scratch.
Replacing deletes the tables first, with all their data. Only use it on an empty or test database.
schema.sql
How to use it
SQL for your existing database
Run this in phpMyAdmin's SQL tab (or your SQLite program) to make the same fixes to the real database. Back up the database first: in phpMyAdmin, Export with the default settings.
fixes.sql